| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Ur mother's ur brother?
Join Date: Jun 2003
Location: Liverpool
Posts: 880
|
it validates!
blimey. the first site i've ever put together that passed the W3C validation test as you all may have noticed, i've been trying to redesign my page in css. here's what i've finally come up with... http://www.thunderchunky.co.uk/index_new4.html If you could all have a quick look and let me know if there's anything glaringly wrong with it then thatd be grand. i know there's still a couple of glitches in it, the main one being that the rollovers on the horizontal nav bar aren't quite right in IE on the pc. i just need to redo every sub-page after i've sorted this out! ::: TC Magazine :::
|
|
|
|
|
|
#2 (permalink) |
|
hmmm...
Join Date: Jan 2004
Location: Yorkuk
Posts: 2,127
|
Looking good. Layout's real nice, but you know that anyway I had problems with ie for my menu - here's my list menu related css. Code:
HTH |
|
|
|
#3 (permalink) |
|
Ur mother's ur brother?
Join Date: Jun 2003
Location: Liverpool
Posts: 880
|
cheers mate what does the "height:1%" do on the links? and what does "!important" do? ::: TC Magazine :::
|
|
|
|
#4 (permalink) |
|
hmmm...
Join Date: Jan 2004
Location: Yorkuk
Posts: 2,127
|
The 1% height makes ie5 apply the padding to the a tags, without this they get none. {edit} and i think most browsers will ignore this as the a tags are inline not block elements {/edit} The !important tells more better browsers to treat that line as more important than other definitions for the element (see following line). IE does the margins differently somehow, so needs a different value, it ignores important so gets the right value. If they understand the important tag, then other browsers will pick up a better value to use. There's probably a more hacky way to do this, but this seems to work fine for me. |
|
![]() |