![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
hi all, whilst creating a mock-up site, i am trying to follow the rules and guidelines i have been digesting over the last few months with regards to css positioning and accessibility. well, i know the journey is far from over and i'm using this mock-up as a learning process. the problem stumping me at the moment can be seen here: http://www.awash.org/vd/index.html using this style sheet: http://www.awash.org/vd/vd.css parts of the content of the right hand column seems to sit under the left hand column. basically, i like the way it looks now but i want the header on the right (with the light blue background), and the paragraph, to have clear white space around them. |
#3
| |||
| |||
|
#4
| ||||||
| ||||||
|
| news pr7us7c0y6v6656 (AT) news (DOT) individual.net: ||On 11 May 2004 20:51:38 GMT, slim <slim (AT) antiCorp (DOT) invalid> wrote: http://www.awash.org/vd/index.html A few other thoughts on the page: |

|
font-size: 80% is a bit small. Yes, it's resizable, but you ought to use the size the user prefers to read - which ostensibly will be the browser's 100% setting. If it's not set to what they prefer, their complaining about the site is like blaming the TV program when the vertical hold on your set is not set properly. But if you broadcast the TV show with intentional vertical-hold problems, they then try to adjust. (Thank you Andy Kaufman.) We don't want to make the user adjust if they've set it to their preference already. |
|
No use in 0px - simply use 0. |
|
div#leftcol { float:left; ... width:16%; } Consider using ems for this column's width, as that will scale the width with the user's text preference. In really huge text settings and narrow viewports, this may make the column unusually wide and the content unusually small, but that would be, clearly, unusual. The content area will take up the remaining space, which will vary of course. |
|
a:link a:hover a:hover a:active - use that order. |

|
I overall like your design. |
#5
| |||
| |||
|
|
|| name | Neal <neal413 (AT) yahoo (DOT) com> | message | || news pr7us7c0y6v6656 (AT) news (DOT) individual.net: ||a:link a:hover a:hover a:active - use that order. hmm. i have changed this at a guess to link, hover, visited, active. is that right? above you've put hover twice - not that i'm moaning, i just want to get it right ![]() |
#6
| |||
| |||
|
| news pr7uslh0e6v6656 (AT) news (DOT) individual.net: ||On 11 May 2004 20:51:38 GMT, slim <slim (AT) antiCorp (DOT) invalid> wrote: snip |
|
parts of the content of the right hand column seems to sit under the left hand column. basically, i like the way it looks now but i want the header on the right (with the light blue background), and the paragraph, to have clear white space around them. Try div#rightcol {border:1px dashed red; margin: 1em; padding: 1em;} |
#7
| |||
| |||
|
|
On 11 May 2004 21:53:48 GMT, slim <slim (AT) antiCorp (DOT) invalid> wrote: || name | Neal <neal413 (AT) yahoo (DOT) com> | message | || news pr7us7c0y6v6656 (AT) news (DOT) individual.net: ||a:link a:hover a:hover a:active - use that order. hmm. i have changed this at a guess to link, hover, visited, active. is that right? above you've put hover twice - not that i'm moaning, i just want to get it right ![]() Second should be visited. I screwed up. LVHA. Las Vegas Has Acne. Whatever helps you remember. |

#8
| |||
| |||
|
|
|| name | Neal <neal413 (AT) yahoo (DOT) com> | message | || news pr7uslh0e6v6656 (AT) news (DOT) individual.net: ||div#rightcol {border:1px dashed red; margin: 1em; padding: 1em;} thanks, i tried this and it works kind of - but i still get the same problem with the <h2> elements background drawing all the way to the left. i must be doing something else wrong i guess. here is a link to a .jpg of what i am seeing here in ie6, perhaps it's just me: |
#9
| |||
| |||
|
|
On 11 May 2004 21:58:20 GMT, slim <slim (AT) antiCorp (DOT) invalid> wrote: || name | Neal <neal413 (AT) yahoo (DOT) com> | message | || news pr7uslh0e6v6656 (AT) news (DOT) individual.net: ||div#rightcol {border:1px dashed red; margin: 1em; padding: 1em;} thanks, i tried this and it works kind of - but i still get the same problem with the <h2> elements background drawing all the way to the left. i must be doing something else wrong i guess. here is a link to a .jpg of what i am seeing here in ie6, perhaps it's just me: Nope, try adding, after the margin: 1em; this: margin-left: 11em; |

#10
| |||
| |||
|
|
however, i now have the same problem i had before in opera where it adds a gap between the horizontal navigation bar and the left hand column. |
![]() |
| Thread Tools | |
| Display Modes | |
| |