Wrong URL?

  • rtm223
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Mar 24, 2004
  • Posts: 1855
  • Loc: Uk
  • Status: Offline

Post August 9th, 2004, 12:56 am

Vladdrac wrote:
hmmm, nice lean code Sam, I did not know that you could give the color and an image in a background: propery.


You can put all of yor background properties into the background property http://www.w3.org/TR/CSS21/colors.html# ... background

The specs are quite handy to have a little look through, although some of it is pretty heavy going. And of course the w3c won't tell you about browser bugs, they just tell you how it is <i>supposed</i> to work!

In terms of trimming down the code even further, and this would probably have helped with the original problem, I keep all my layout graphics in the same folder as the stylesheet, and then just reference the filename from the .css file, with no path needed.
CSS website design tutorials
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 9th, 2004, 12:56 am

Post Information

  • Total Posts in this topic: 16 posts
  • Users browsing this forum: No registered users and 164 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.