I mean trying to do something different is good, and to be honest there is probably some script somewhere to help you do it – there isnt much left that you can’t do with a website. If its a blog/business style site you have to think about what your visitor is going to be doing, most would only be on the page for a few seconds, and would not appriciate the beautiful resizing action you spend hours developing :)
you are absolutely right,
but do a little training, to understand all this CSS stuff is also good.
first: this is just demonstration, the menu isn’t in the desired place yet.
now I’ve got the next problem coming up.
look at the site again http://www.sadsunray.de/test/hldand answer me following question:
Why the hell doesn’t IE interpret CSS like every human would do
but Firefox doing all right??
Only f***ing IE is so stupid, not doing what I’m want it to do.
Is it me who is thinking wrong???
Please can anyone explain why the menu isn’t in the right place in IE?
Yup, welcome to the world of insane IE.
Ok so I have it looking the same in FF and IE.
What was sticking it out was the default margin that IE was giving to the UL tag. so a quick margin:0; sorted that.
IE likes to make up its own rules about how it sees margins and padding, so its always best to use the "left" "top" to get it in the right place.
Other than that I changed a few other parts of your code.
I removed the div that contained the UL menu, because UL is a block element, just like a DIV is, so you had effectivly wrapped a DIV in a DIV, no need because you can just style the UL exactly like a DIV.
You dont need jquery to make something change when you hover over it, like your menu. Instead of making the li.active class, you could have just done li:hover. You will see in the CSS I have done.
I think thats all I changed.
http://www.svgonline.co.uk/hld <– here :)
again big thanks for what you’ve done and explaining it to me.
I thought, when we reset the margin and padding in the html and body tags, it also rest it in all other tags afterwards.
Didn’t know, that <ul> is like a div and have a standard margin in IE, where can i find such individual characteristics for browsers? Is there any resource?
And already didn’t know that there are pseudo-elements for <li>. Just know like this a:hover for links.
Thanks a lot, without you I would like to just make a picture and put it on the website :D
Most designers start their documents with a CSS reset, to remove all margins and paddings and the like… There is a whole section of Yahoo labs dedicated to it.
Its from here
It looks like this…
/* to preserve line-height and selector appearance */
/*to enable resizing for IE*/
/*because legend doesn’t inherit in IE */
It gives you a real blank canvas… :)
hi, maybe you can’t help on this, but why is, after resetting everything, the menu (hover to see it) yet in firefox some pixels away from the white area, than in IE ?
and another question, can I provide different css-styles for different browsers?
and one more question, when you expand the area in IE and you have Cleartype ON, the new paragraph is not rendered, its not really ideal. how can I fix this?
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".