CSS bad stickiness
Hi all,
seems we have some problems with stickiness src-ip on a CSS 11506. 6 clients are calling 4 servers.
The four servers are balanced this way:
content Prodotti_9503
add service Prodotti_BEA_WLS_9501_1
add service Prodotti_BEA_WLS_9501_2
protocol tcp
port 9503
vip address 10.216.86.153
advanced-balance sticky-srcip
add service Prodotti_BEA_WLS_9501_206
add service Prodotti_BEA_WLS_9501_207
active
All the traffic goes to Prodotti_BEA_WLS_9501_1 regardless of the client source IP.
All the servers are active.
Do you think this is due to the limited number of clients (the clients are frontend web servers)?
Do you know how the CSS hashing algorithm works in detail?
Thanks in advance.
Fausto
I just upgraded from a set of 11800's to 11506's. I'm running 7.20 build 206. We are doing a data center migration so it was a perfect time to upgrade and break my load-balancing out between internal and external users.
We made the change two nights ago and I spent most of the next day and yesterday troubleshooting some css issues that cropped up. One was with our online bill payment app and the other an agent and reseller site. Both have standard port 80 URL's that then redirect to https for login. Both were configured for sticky-srcip-dstport and immediately began having issues. If you went to servers directly everything worked fine.
Because of the way the redirects are setup we had a hard time getting them working when the sites were first setup. The port 80 rule listens, hits a server then it redirects back to the VIP address and the port 443 rule then reflects it back to the server. After the migration it appeared that intermittenly users would be redirected back to a server that didn't know about their session and browser errors would occur. I was able to set both of those to use ssl session ID and it fixed the issue.
I have another application that seems to be doing something very similar but it has no ssl piece so advanced-balance ssl will do no good with that one. I'm still searching for a workaround.
If anyone here has any suggestions they would be greatly appreciated.
Similar Messages
-
Hi everyone,
I have a question about CSS cookie sticky.
- Server issues the following cookie string to the client and it is fixed to 18 bytes.
Set-Cookie: JSESSIONID=aaabbbcccdddeeefff; path=/
- Client embedded the following cookie string in the subsequent HTTP header.
Cookie: xx_user_id=ZZZZ03; com.dummy.xyz.session.cookie=|user|pc|ja|Shift_JIS|default||yellow|/oooo/default.portal|; JSESSIONID=aaabbbcccdddeeefff
* Note that I made cookie information suitable as example.
There is the cookie string (JSESSIONID=aaabbbcccdddeeefff) issued by Server in the HTTP header from client but that cookie string (JSESSIONID=aaabbbcccdddeeefff) is located following the cookie string that the client made by oneself at the end of cookie string. And the cookie string and the length of cookie string that client made by oneself might change so the total length of cookie string also might change. It means I can not clarify the total length of the cookie string.
In this situation, I want CSS to stick with cookie string "JSESSIONID=aaabbbcccdddeeefff".
The characters of string located following the "JSESSIONID=" (in this case, "aaabbbcccdddeeefff") might change but it is fixed to 18 bytes. The total length of cookie string is 141 bytes in above mentioned example.
So I informed customer to configure the following parameters to get CSS done cookie sticky for above mentioned cookie string. CSS software version is sg0750303.
owner test
content testsv-tcp80
add service testsv1-tcp80
add service testsv2-tcp80
advanced-balance cookie
string range 1 to 200
string process-length 18
url "/*"
redundant-index 1001
protocol tcp
port 80
vip address xxx.xxx.xxx.xxx
active
However CSS was not able to treat the above mentioned cookie correctly which means the subsequent HTTP request was not stuck (persisted) to same server.
I do not understand why CSS cookie sticky did not work correctly with this configuration.
Then customer configured CSS with the following parameters to get CSS inserted cookie string and, of course, the result is OK that is CSS could stick the connection to same server.
owner test
content testsv-tcp80
add service testsv1-tcp80
add service testsv2-tcp80
advanced-balance arrowpoint-cookie
url "/*"
redundant-index 1001
protocol tcp
port 80
vip address xxx.xxx.xxx.xxx
active
Has anybody experienced similar thing ?
Could you please let me know if you have any comment, information
Your information would be appreciated.
Best regards,the CSS does not learn dynamic cookie.
You can match a fixed string inside a cookie and pre-define which server to use with that specific string.
That's why your solution did not work.
Arrowpoint-cookie is a better solution and easier to implement.
Gilles. -
Hi everyone,
I am facing a strange issue. I have a SSLv3 service running on two servers behind a pair of(active-standby) CSS 11501, wich do advance-balance ssl. Few days ago I noticed that the CSS stopped the LB and start sending he request to only one server( both alive). I think that is hapening due to the SSL-layer 4 fallback. How do I verify it , and restore stickyness with session ID?
Thanks in advance
DavidFurther observations:
issueing the commnd ssl-l4-fallback disable, restores the load balance. This means, I think, that the l4-fallback was activated. The questions remaiins, why, if we are using ssl v3? why the l4 sticky table has no entries. Here is a ssldump example:
New TCP connection #2: 172.16.20.1(46311) <-> 172.26.80.1(3034)
2 1 0.0011 (0.0011) C>SV3.0(95) Handshake
ClientHello
Version 3.0
random[32]=
46 8a 31 6f 87 94 35 a8 30 16 42 5e e9 6e 31 c0
d6 17 ac eb 92 9c 53 db 85 92 df 30 0e 67 90 90
cipher suites
Unknown value 0x39
Unknown value 0x38
Unknown value 0x35
SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA
SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
SSL_RSA_WITH_3DES_EDE_CBC_SHA
Unknown value 0x33
Unknown value 0x32
Unknown value 0x2f
SSL_DHE_DSS_WITH_RC4_128_SHA
SSL_RSA_WITH_RC4_128_SHA
SSL_RSA_WITH_RC4_128_MD5
SSL_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA
SSL_RSA_EXPORT1024_WITH_DES_CBC_SHA
SSL_RSA_EXPORT1024_WITH_RC2_CBC_56_MD5
SSL_DHE_RSA_WITH_DES_CBC_SHA
SSL_DHE_DSS_WITH_DES_CBC_SHA
SSL_RSA_WITH_DES_CBC_SHA
SSL_DHE_DSS_WITH_RC2_56_CBC_SHA
SSL_RSA_EXPORT1024_WITH_RC4_56_SHA
SSL_RSA_EXPORT1024_WITH_RC4_56_MD5
SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA
SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA
SSL_RSA_EXPORT_WITH_DES40_CBC_SHA
SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5
SSL_RSA_EXPORT_WITH_RC4_40_MD5
compression methods
NULL
2 2 0.0025 (0.0014) S>CV3.0(74) Handshake
ServerHello
Version 3.0
random[32]=
46 8a 19 d6 a8 f5 88 8e d4 d5 16 06 df 1e 8e e5
0e 7c 1b f2 f8 bb b9 c8 7d c6 e2 f8 fe e6 7f b0
session_id[32]=
db 23 61 fa 35 5a ef 0e da 3d be b0 c2 85 39 9f
4d b1 75 5d 5b ef c8 46 bc 4d db ab 31 23 d6 d4
cipherSuite SSL_RSA_WITH_3DES_EDE_CBC_SHA
compressionMethod NULL
2 3 0.0025 (0.0000) S>CV3.0(1147) Handshake
Certificate
2 4 0.0025 (0.0000) S>CV3.0(4) Handshake
ServerHelloDone
2 5 0.2346 (0.2320) C>SV3.0(260) Handshake
ClientKeyExchange
EncryptedPreMasterSecret[256]=
1b a5 47 46 7b 9a 8b 84 88 d4 54 ba 23 c7 7a 31
db 8a 74 c2 02 3b 8b 50 75 c3 c8 c0 38 4c 18 e8
0a e8 c8 47 39 ff 9b 3c 6a cc d3 21 78 69 e6 50
88 55 e8 b3 d3 b1 2a 04 b3 ba 66 e4 c8 49 f4 8e
a0 bd 74 60 e9 f2 0c a1 25 47 03 4e 6c ed 96 52
de 2a 9a 60 29 c5 f6 21 c8 3e 58 ef af 3f 12 b2
ee 34 c0 70 12 d0 64 30 28 65 ed fb ff 65 f2 de
d0 bf cd e6 26 79 6f 3c 61 5f df da bf ac 4a cf
4c 0e 0c 66 44 e1 b2 a3 34 f2 27 75 f0 e4 e7 a4
48 06 76 93 73 0d 09 75 35 ea a1 91 d9 c8 ad 58
b9 1f 45 bf c6 09 61 cb 2d 75 4a ba ed 45 15 44
0f fc 9e 5b 90 e7 b2 86 15 1c 43 a5 52 0d c7 1e
d8 81 42 db 77 35 99 4d 0d 5b 20 e6 dd c5 a1 7d
64 9a 13 d2 99 b7 1d 94 a7 fe ce b6 67 7d df b9
25 fb 27 d2 6e 90 49 54 b9 c1 10 32 eb 42 df 43
b6 1c 94 4e ee 0b ca 29 27 8a 3d b8 fe 59 00 f4
2 6 0.2346 (0.0000) C>SV3.0(1) ChangeCipherSpec
2 7 0.2346 (0.0000) C>SV3.0(64) Handshake
2 8 0.2708 (0.0362) S>CV3.0(1) ChangeCipherSpec
2 9 0.2708 (0.0000) S>CV3.0(64) Handshake
2 10 0.3074 (0.0365) C>SV3.0(40) application_data
2 11 7.9036 (7.5961) S>CV3.0(24) application_data
2 12 7.9036 (0.0000) S>CV3.0(104) application_data
2 13 7.9036 (0.0000) S>CV3.0(24) Alert
2 7.9036 (0.0000) S>C TCP FIN
2 14 7.9464 (0.0427) C>SV3.0(24) Alert
2 7.9524 (0.0059) C>S TCP FIN
As you can see session ID is sent correctly.
David -
Gilles,
Could you please advice the CSS content configured with stickiness SSL ID and balance method round robin is recommended configuration or not.Are there are any issues with SSL stickiness with the browsers i.e IE .
Note:- I am not using SSL Module in the CSS.
Thanks in advance...There are two issues
Some versions of IE (5.0, 5.5 --check http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q265369) will
cause the client to change its SSL ID every 2 minutes and this will break
stickyness with application ssl and advanced balance SSL as this is layer 5
stickyness based on SSL session ID. A sniffer trace from the client will
show the ID field change.
You have to be aware that SSL stickiness will only work with SSL v3,
because it comes with the session ID not encrypted. SSL v2 comes with the session ID encrypted and you can't do stickyness
based on that version.So your appliaction servers must be using SSL v3, if you want to use SSL ID based stickiness.
Hope it helps
Syed Iftekhar Ahmed -
Css bad in photo galleries with Safari 4
I have a photo gallery addded to iWeb '08 that looks fine on my Mac with Tiger and Safari 3 and firefox...
But on my other Mac with Leopard and Safari 4 the gallery nav buttons are all messed up and blue... I think that the css file for it is not being found with this setup.
I tried adding full pathnames to the css in the page but that didn't work (if I did it everywhere it need it)...
Does anyone else have his problem or a clue??
Thanks!!Over the last couple of days, Safari 4 has gone haywire on me a few times.
Last night it totally scrambled the Apple home page and then started to tell me that every page I tried was not available.
I wish I had taken a screenshot of the Apple page as I have never seen anything as messed up as this!
I had to reset, quit and relaunch four times in about 15 minutes.
In general, I am pleased with it - when it works! -
Exploring CSS 11503 sticky table / sticky mask
Hi All
I am currently undergoing some testing with a client.
We have a VIP load balancing 8 instances. We are testing with the following configs
content test-test
add service a
add service b
add service c
add service d
add service e
add service f
add service g
add service h
vip address 10.10.10.1
flow-timeout-multiplier 225
sticky-mask 255.255.255.252
redundant-index 1000
port 443
protocol tcp
advanced-balance sticky-srcip-dstport
sticky-inact-timeout 360
balance leastconn
active
We have traffic been sourced from 32 IP addresses and want all 8 instances to be used/hit, but this is not happening in all instances.
(from the above config, 4 consecutive IPs will be stuck to the same instance based on the sticky mask -- yes?)
For instance I would expect the following: with the Test IP addresses used based on the sticky mask:
10.120.1.168
10.120.1.169
10.120.1.170
10.120.1.171
(to be stuck to maybe instance a)
10.120.1.176
10.120.1.177
10.120.1.178
10.120.1.179
(to be stuck to maybe instance b)
I have tried the following command during tests:
show sticky-table l4-sticky ipaddress 10.10.10.1 255.255.255.252 443
and get an empty table back.
L4 Sticky List on Slot 1, subslot 1:
Entries for page 1.
Entry Hash Rule Rule Srv Srv Time(Sec) Hit Col Elem Inact
Number Value Indx State Indx State Elapsed Cnt Cnt Type Cfg(Min)
Total number of entries found is 0.
L4 Sticky List on Slot 2, subslot 1:
Entries for page 1.
Entry Hash Rule Rule Srv Srv Time(Sec) Hit Col Elem Inact
Number Value Indx State Indx State Elapsed Cnt Cnt Type Cfg(Min)
Total number of entries found is 0.
I would like to ascertain what source IP address is been stuck to what load balanced instance at any one time.
I have tried looking at the flow table but, that clears out quite quicky so not really an accurate method.
Thanks!Hi All
I am currently undergoing some testing with a client.
We have a VIP load balancing 8 instances. We are testing with the following configs
content test-test
add service a
add service b
add service c
add service d
add service e
add service f
add service g
add service h
vip address 10.10.10.1
flow-timeout-multiplier 225
sticky-mask 255.255.255.252
redundant-index 1000
port 443
protocol tcp
advanced-balance sticky-srcip-dstport
sticky-inact-timeout 360
balance leastconn
active
We have traffic been sourced from 32 IP addresses and want all 8 instances to be used/hit, but this is not happening in all instances.
(from the above config, 4 consecutive IPs will be stuck to the same instance based on the sticky mask -- yes?)
For instance I would expect the following: with the Test IP addresses used based on the sticky mask:
10.120.1.168
10.120.1.169
10.120.1.170
10.120.1.171
(to be stuck to maybe instance a)
10.120.1.176
10.120.1.177
10.120.1.178
10.120.1.179
(to be stuck to maybe instance b)
I have tried the following command during tests:
show sticky-table l4-sticky ipaddress 10.10.10.1 255.255.255.252 443
and get an empty table back.
L4 Sticky List on Slot 1, subslot 1:
Entries for page 1.
Entry Hash Rule Rule Srv Srv Time(Sec) Hit Col Elem Inact
Number Value Indx State Indx State Elapsed Cnt Cnt Type Cfg(Min)
Total number of entries found is 0.
L4 Sticky List on Slot 2, subslot 1:
Entries for page 1.
Entry Hash Rule Rule Srv Srv Time(Sec) Hit Col Elem Inact
Number Value Indx State Indx State Elapsed Cnt Cnt Type Cfg(Min)
Total number of entries found is 0.
I would like to ascertain what source IP address is been stuck to what load balanced instance at any one time.
I have tried looking at the flow table but, that clears out quite quicky so not really an accurate method.
Thanks! -
CSM command similar to CSS sticky-srcip-dstport
Is there a command in the CSM similar to the CSS command sticky-srcip-dstport?
If thre isn't...is there still a way to do something similar on the CSM?CSM sticky functionality with multiple SSL connections with resumption.
http://www.cisco.com/en/US/products/hw/modules/ps2706/products_configuration_example09186a0080216c16.shtml -
Question about when L3 sticky information is removed on CSS
Hi everyone,
I have a question about L3 sticky on CSS.
I understand L3 sticky takes effect on the following situations,
1: until expiring inactive timer
2: until sticty table full
and
3: until the connection disconnect by receiving RST or FIN from client or real server
The "3:" means that CSS maintains sticky connection between specific client IP address
to real server (L3 stickty) when CSS has its information on sticky table.
And CSS has removed it from sticky table if CSS receive RST or FIN even if the inactive timer
abot its connection has not expired.
That is, CSS removed L3 sticky information from sticky table when CSS receive
RST or FIN from client or real server even if inactive timer has not expired and
in this situation, the next new connection from same client IP address is processed with
normal load balancing, in the result, the new connection from same client IP address
forwards other real server.
Is my understanding correct ?
Or CSS maintains L3 sticky information on the sticky table until the situation meets
"1:" or "2:" even if CSS receive RST or FIN ?
Your information would be appreciated.
Thank you in advance.
Best Regards,What point number 3 means is the layer 3 sticky will take effect when a connection disconnect message is received from a client or a real server. This connection disconnect is received in the form of RST or FIN messages from the real server or the client.
-
How can i clear the sticky table on this CSS? Is it even possible? I am only running version 7.1 so I do not even have the show sticky-table commands.
I think your commands are for the CSM. Or possibly a newer OS version for the CSS...one that i'm not running.
However, in case anybody does come across this thread in the future, I was able to get an answer from TAC. The command is as follows...
CSS# llama (press enter)
CSS(debug)# sticky-purge all-sticky -
CSS sticky and load redundancy
CSS has been configured with one VIP which has four real servers behind the VIP. We would like that clients always being dispatched to server #1 for application access, and be able to access the rest of servers if server 1 fails, in other word, we just like the CSS support sticky base on Soruce IP and load redundancy, not load sharing, is this feasible? is there is any parameter could be twicked? Thanks in advance
The CSS allows you to use cookies or URL strings to stick to a particular server. In the past, this has required the Web hosters to modify their applications to set particular cookies or strings in the URL. For more information have a look at the following URL.
http://www.cisco.com/en/US/products/hw/contnetw/ps789/products_tech_note09186a0080094398.shtml -
W3C CSS validator says it can't find my spry folder
I'm trying to put the finishing touches on my first site, but when I sent it through the W3C CSS validator it failed. The error message is:
File not found: http://www.smallfarming101.com/../SpryAssets/SpryMenuBarHorizontal.css: Bad Request File not found:
The Spry Assets folder is there in the public_html folder and just to be sure, I deleted the existing folder and ftp'd an updated one. Why is the validator not happY? Thanks.
http://www.smallfarming101.comHi,
the only thing I can imagine why W3 reports an error is this: ".. /" in your http://www.smallfarming101.com/../SpryAssets/SpryMenuBarHorizontal.css. Presumably, it is not necessary. This depends how deep your spry files are nested.
Hans-G. -
Clear advanced sticky source ip sessions
I would like to clear advanced sticky source ip sessions every morning at 1am
is there a script or command to do this?
ThanksYou need to go into debug mode to purge the sticky entries
If you want to purge the entire table
CSS# llama
CSS(debug)# sticky-purge l3-sticky
To clear just one entry, specify the ip address and mask of the entry
CSS(config)# llama
CSS(debug)# sticky-purge l3-sticky 10.1.2.3 255.255.255.0
Hope it helps
Syed Iftekhar Ahmed -
Hello!
How long CSS save sticky-srcip in loadbalance? In other words if there is a rule where I set advanced-balance sticky-srcip and all requests from one IP go to one server, are there any timeouts on it or this IP will go to that server always?
I ask it because our servers are overload because of large user requests and when we add new server in farm effect is small (only few user requests forwards to a new server because of sticky-srcip)
Thanks!Unless you use the command sticky-inact-timeout, there is no default time. The sticky table is kept on a FIFO basis (32k or 128k entries, according to the device type and memory available), or until the reboot of the CSS.
Use the sticky-inact-timeout command to specify the inactivity timeout period on a sticky connection for a content rule before the CSS removes the sticky entry from the sticky table. When you configure this period, the CSS keeps the sticky entry in the sticky table for the specified amount of time.
The syntax for this command is:
sticky-inact-timeout minutes
Enter the number of minutes of inactivity, from 0 to 65535. The default value is 0, which means this feature is disabled.
For example, enter:
(config-owner-content[arrowpoint-rule1])# sticky-inact-timeout 9
Thanks
Syed Iftekhar Ahmed -
I just updated my site and I discovered that the page is not rendering in IE6 (and IE5.5, but I suppose no one uses that anymore).
All I can see is the red background color.
The link to the site is www.schudden.net.
Can anybody tell me why the page is not visible in IE6?I use a transparant png for the footer.
I did not use any frames to construct my site, made this from a one column, fixed header and footer template in dreamweaver.
The previous site was visible in IE 6.
I actually made a whole new layout, but he content stayed the same.
When I validate in dreamweaver it gives me two errors in the css file:
Unsupported property: _position
Affects: Firefox 1.5, 2.0, 3.0; Internet Explorer 6.0, 7.0, 8.0b1; Internet Explorer for Macintosh 5.2; Netscape 8.0; Opera 8.0, 9.0; Safari 2.0, 3.0
Unsupported value: 'fixed'
Affects: Internet Explorer 6.0, 7.0, 8.0b1; Internet Explorer for Macintosh 5.2
Perhaps this is causing the error, but I don't know how to resolve this.
There was also an error about the min-height I used. I deleted that option, but it did'n't help.
This is the source code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Schudden fansite</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<link href="../css/Noorderzon.css" rel="stylesheet" type="text/css" />
<!--[if gte IE 5.5]>
<![if lt IE 7]>
<style type="text/css">
div#Sticky {
/* IE5.5+/Win - this is more specific than the IE 5.0 version */
right: auto; bottom: auto;
left: expression( ( 0 - Sticky.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
top: expression( ( 0 - Sticky.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
<![endif]>
<![endif]-->
</head>
<body class="oneColElsCtrHdr">
<div id="container">
<div id="header">
<h1> </h1>
<!-- end #header --></div>
<div id="mainContent">
<div id="nav"><a href="index.html" title="Home">Home</a> | <a href="nieuws.html" title="Nieuws">Nieuws</a> | <a href="../schudden.html" title="Schudden">Schudden</a> | <a href="../speellijst.html" title="Speellijst">Speellijst</a> | <a href="../media.html" title="Media">Media</a> | <a href="../links.html" title="Links">Links</a> | <a href="http://www.tboek.nl/tboek/index.php?name=schudden" title="Gastenboek" target="_blank">Gastenboek</a> | <a href="mailto:[email protected]" title="Contact">Contact</a> | <a href="../nieuwsbrief.html" title="Nieuwsbrief">Nieuwsbrief</a></div>
<!-- TemplateBeginEditable name="Contenttext" -->Contenttext<!-- TemplateEndEditable --></div>
<div id="footer">
<p> </p>
<!-- end #footer --></div>
<!-- end #container --></div>
</body>
</html>
And this is the CSS code:
@charset "utf-8";
html, body {
height: 100%;
body {
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #333;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9pt;
background-color: #800000;
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
height: 100%;
body,td,th {
font-size: 9pt;
color: #333;
text-align: center;
/* Tips for Elastic layouts
1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
#container {
text-align: center; /* this overrides the text-align: center on the body element. */
margin-top: 0;
margin-right: auto;
margin-bottom: 0;
margin-left: auto;
background-color: #800000;
top: 0px;
bottom: 0px;
padding: 0px;
width: 100%;
#header {
width: 960px;
padding-top: 0;
padding-bottom: 0;
height: 160px;
margin-right: auto;
margin-left: auto;
background-color: #DDDDDD;
background-image: url(../images/header.jpg);
#header h1 {
margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
#mainContent {
width: 960px;
margin-right: auto;
margin-left: auto;
padding-top: 0;
padding-right: 0px;
padding-bottom: 0;
padding-left: 0px;
background-image: url(../images/mainbg.jpg);
line-height: 15pt;
.titlelink {
font-size: 16px;
font-weight: 500;
font-variant: small-caps;
color: #800000;
.alignleft {
text-align: left;
#nav {
text-align:center;
margin-top:0px;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10pt;
color:#000;
font-weight:700;
padding-top:9px;
padding-bottom:10px;
text-decoration:none;
background-image: url(../images/mainbg.jpg);
background-repeat: repeat;
width: 960px;
#nav a {
background:#fff;
color:#000;
text-decoration:none;
#nav a:active {
background:#fff;
#nav a:hover {
background:#fff;
color:#000;
font-size:10pt;
padding-bottom:2px;
border-bottom-width: 3px;
border-bottom-style: dotted;
border-bottom-color: #800000;
a:link {
color: #000;
a:hover {
color: #000;
a:active {
color: #369;
a:visited {
font-style: normal;
color: #369;
#footer {
color:#FFF;
border: 0px solid orange;
position:fixed;
/* Netscape 4, IE 4.x-5.0/Win and other lesser browsers will use this */
_position: absolute;
right: 0px;
bottom: 0px;
width: 100%;
background-image: url(../images/bottom.png);
height: 100px;
padding-top: 0;
padding-right: 10px;
padding-bottom: 0;
padding-left: 10px;
.subtext {
font-size: 8pt;
color: #800000;
.tableheader {
font-weight: 700;
color: #FFF;
line-height: 30px;
text-transform: uppercase;
background-image: url(../images/tableheader.jpg);
padding-left: 10px;
table tr .tableheader {
text-align: left;
padding-left: 10px;
.tablecontent {
padding-left: 10px;
text-align: left;
.center {
text-align: center;
.justify {
text-align: justify;
.linkheader {
background-image: url(../images/linkheader3.jpg);
line-height: 30px;
font-weight: 700;
text-transform: uppercase;
color: #fff;
#subnav {
text-align:center;
margin-top:0px;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10pt;
color:#000;
font-weight:700;
padding-top:9px;
padding-bottom:10px;
text-decoration:none;
background-image: url(../images/mainbg.jpg);
background-repeat: repeat;
width: 960px;
I hope this helps
@pziecina : the validation errors are weird, because I have a doctype in my documents.
Could this be caused by the fact that I have domainname linked to an external site (I use the free space I got from my provider, and the domainname link is forwarded to this space). Because, when I validate the original index.html file (http://members.home.nl/justme4u/index.html) it only gives me two errors. -
Css stickiness based on the http header
there is CSS 11503 that should load balances the traffic between 2 servers running IIS (http port 80). In front of load balancer there is a reverse proxy, that hides all real ip addresses of users that send requests to web-servers.
The customer would like to have stickiness per user. The reverse proxy can add user real ip address to http header.
What kind of load balancing mechanism is better to use to fulfill customer requirements? HTTP load balancing? If "yes", are there standard field-types that is possible to use?You can't do sticky on http header in CSS , best solution is to insert a cookie for stickyness, individula clients will get a cookie and will stick based on cookie ppresented.
see:
http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/css11500series/v8.20/configuration/content_lb/guide/Sticky.html#wp1109390
content testing
vip address 192.168.128.131
add service s1
advanced-balance arrowpoint-cookie
active
Maybe you are looking for
-
How to find out the font type?
Is it possible to find out the type of the used fonts(like Open type (or) true type) in illustrator cs3 file through programmatically. Kindly share with me the possibilities and solution. Thanks...
-
Hi, I have lost all data on my iphone by mistake. I needed to restore the phone and I didnt realize my back-up was 1yr old, and now the phone is restored and I've got a year old contact list and iMessage chat history. Luckily my iMessage on the Mac i
-
Headphone port only accepts certain headphones
Up until recently i haven't had a problem with headphones, but when i tried to buy a new pair the quality was really bad. This was the same with other headphones i found around the house so i assume it's a problem with the headphone port.
-
I am trying to set up my new iPhone 5 and I just synced all of my data to iTunes. It won't advance to the next step. It still says 'connect to iTunes' even though I already synced it.
-
Rebuild our XI application server from Single stack to dual stack
Hello, We currently have an XI landscape with two application servers, the CI is of course a dual stack system, however the two app servers are single stacked, however we would like to make the two app servers into DUAL STACKs, my first guess was to