candysweet224
07-27-2004, 11:02 PM
Ok so i took the code from css layout.. what do i do now??
|
View Full Version : Css Layout candysweet224 07-27-2004, 11:02 PM Ok so i took the code from css layout.. what do i do now?? salomeyasobko 07-27-2004, 11:06 PM you put it in your website coding and make sure you've edit the values. like this: <html> <head> <title> whatever </title> <style type="text/css"> a: link { text-decoration: underline;} body {background-color: #ffffff; font-family: arial; color: #ffffff;} #header {position: absolute; left: 0px; top: 0px; height: 50%; width: 100%; background-color: #FF0000;} #content {position: absolute; left: 0px; top: 50%; height: 50%; width: 100%; background-color: #FF0000;} </style> </head> <body> <DIV id="header">lalallalaalal</DIV> <DIV id="content">lalalalalaa</DIV> </body> </html> just an example :D sjb 07-27-2004, 11:11 PM Do you mean the page that helps you learn css http://www.lissaexplains.com/css.shtml ? if you do then here's an example of what to do (i'll use the beginning bit) <style type="text/css"> A:link { text-decoration: value; [underline, overline, underline overline, line-through, blink, none] color:#000000; } ok here's what to do, you replace what's in bold with only one of the things in red and you change what's in purple to any colour you like go here (http://www.lissaexplains.com/color.shtml) to choose one, so in the end you will end up with something like this A:link { text-decoration: overline; color:#cc0000; } and you do the same for the rest of the things, you don't need to put everything in your css layout only what you want and the page has details of each of the things so you can read about them birdieblue 07-28-2004, 12:39 AM in order to link it to all of your pages, you need to insert this: <LINK REL=stylesheet HREF="NAMEOFYOURSHEET.css" TYPE="text/css"> between the <head></head> thingies :-) then just edit your .css sheet and the changes you made there will appear on all the pages you linked. |