cugopob.vlad Posted May 9, 2009 Report Share Posted May 9, 2009 (edited) hey im making a website with tabs and im checking it on both IE and Opera. the first time i tried it in IE the tabs were positioned on relative and i ajusted the way i needed it. but then i tried the page in Opera and the tabs ended under the body and you couldnt see it. then i tried fixing it so it would work with Opera and then in IE it got messed up. So finally i decided to position the tabs on absolute and i got it the way i wanted and it works in all browsers but they ended up in the background i think because when you move your mouse over it, it doesnt change the color the way its suppose to. Can anybody help me? Thanks. Edited May 9, 2009 by cugopob.vlad Quote Link to comment Share on other sites More sharing options...
Andrea Posted May 9, 2009 Report Share Posted May 9, 2009 Can anybody help me? Thanks. Not really, unless we can see the code. Do you have a link? Quote Link to comment Share on other sites More sharing options...
cugopob.vlad Posted May 9, 2009 Author Report Share Posted May 9, 2009 can see the code. Well here is what i got so far for the menu div#menu { display:block; position: absolute; width: 784px; top: 220px; left: 26px; } a.tab:link { display: block; background-image: url(images/Menu_Tabs/tabs3.png); background-repeat: no-repeat; color: #000; } a:link { color: #000; } a.tab { text-decoration: none; width: 162px; height: 40px; text-indent:58px; padding-top: 10px; } a.tab:hover { background-position: right top; color: #fff; } a.tab:visited { background-image: url(images/Menu_Tabs/tabs2.png); background-repeat: no-repeat; color: #000; } ul.main_menu { text-decoration: none; list-style-type: none; } li.tab { float:right; } Quote Link to comment Share on other sites More sharing options...
PicnicTutorials Posted May 9, 2009 Report Share Posted May 9, 2009 Wow! This must be the new CSS4 slated for release in 2016. You don't even need any html... God, that bugs the shit out of me!!! Quote Link to comment Share on other sites More sharing options...
cugopob.vlad Posted May 10, 2009 Author Report Share Posted May 10, 2009 (edited) sorry i forgot to tell you the css is an external document linked to the html page so there is no html here. Edited May 10, 2009 by cugopob.vlad Quote Link to comment Share on other sites More sharing options...
PicnicTutorials Posted May 10, 2009 Report Share Posted May 10, 2009 I new it had to be some special coding language. Always something new to learn i guess. Quote Link to comment Share on other sites More sharing options...
Andrea Posted May 10, 2009 Report Share Posted May 10, 2009 sorry i forgot to tell you the css is an external document linked to the html page so there is no html here.I'm glad you cleared that up. @Eric: Quote Link to comment Share on other sites More sharing options...
jlhaslip Posted May 10, 2009 Report Share Posted May 10, 2009 Must be coded in Zhtml. I ordered a book on Amazon. Delivery any time soon. Can't wait... er, I guess I must. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.