OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
CSS buggy?
This page's ID:
24461
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
almost there! The CSS selector script in the page sniffs out the screen size and then chooses between two classes .first or .second It works to select the proper sized background image [url]www.secret-beach.com/csschanger4.htm[/url] that is pretty much what I was looking for all along.. (nevermind that some of the links on that page are below the area of sight for now) But if I also want to resize the text and link attributes (size) in the same way, would I have to put all those into subclasses? Here is what I mean, but I dont know the proper syntax: .first { a{color:#E3E7EA;text-decoration:underline;font-family: arial, helvetica, sans-serif; font-size: 12px; line-height: 12px} a:hover{color:#00ee00;text-decoration:underline;font-family: arial, helvetica, sans-serif; font-size: 12px; line-height: 12px} a:visited {color:#00ee00;text-decoration:underline;font-family: arial, helvetica, sans-serif; font-size: 12px; line-height: 12px} a:active {color:#FFFF33;text-decoration:underline;font-family: arial, helvetica, sans-serif; font-size: 12px; line-height: 12px} H1{color:#99FFFF;font-family: arial, helvetica, sans-serif; font-size: 12px; line-height: 12px; font-weight: bold} opto{color:#99FFFF;font-family: arial, helvetica, sans-serif; font-size: 10px; line-height: 12px; font-weight: bold} opto2{color:#66CCCC;font-family: arial, helvetica, sans-serif; font-size: 10px; line-height: 12px; font-weight: bold} background: white url(/images/websitewelcome2.jpg) no-repeat fixed center center; } .second (repeat with different font-sizes) Finally - to get the page to work, would I need to change the <p class=" "> tags already in the html? Please forgive me if my code is bloated.. Eric001 _______________________ Chill out on a Secret Beach: [url]www.secretbeach.net[/url] [small](Edited by [internallink=2971]Eric001[/internallink] on 12-23-2004 05:00)[/small] [small](Edited by [internallink=2971]Eric001[/internallink] on 12-23-2004 05:04)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »