Go Back   Ultimate Web Site Drop Down Menu Forum > Web Development > CSS and HTML
Register FAQ Members List Calendar Today's Posts

Reply
Thread Tools Display Modes
Unread 08-22-2007, 02:46 PM
paulj paulj is offline
Senior Member
Join Date: Jul 2007
Posts: 521
  #1  
Default A way to shorten the CSS

Hey, here is an example with links:Code:---------#mainbody .large a {font-size: 18px;}#mainbody .large a:link, .large a:visited {color:#60545a;}#mainbody .large a:hover, .large a:active {color:#AA4D4D;}---------I have so many things Im messing with I cant tell if that works or not :(
Reply With Quote
Unread 08-22-2007, 04:17 PM
doctordew doctordew is offline
Senior Member
Join Date: Aug 2007
Posts: 121
  #2  
Default

Why would it need to be any shorter? Doesn't look like it can be shortened any to me. Just put it in an external css document so you won't have to keep scrolling past it. As for tinkering with the code what are you trying to do? I have a basic idea what the codes for and what would change what. The first {} is your text size, then there's the color for visited links, then active/hovered links. If you can't tell if it works put it in the document open it in your documents as an html file, and you'll bring up a sample of what the page would look like on the net. Get back to me if you have any more questions.
__________________
Make Money Blog
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 05:15 AM.


Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.