title backgrounds? |
![]() ![]() |
title backgrounds? |
Aug 7 2006, 03:41 PM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 41 Joined: Jan 2005 Member No: 85,685 |
I will try and make this as understandale as possible because I dont really know how to explain it. buuuut anyways, i was wondering what the code is to get a background bhind the 'titles' of each section (like your name, contacting so and so, so and sos interest and all its subheadings, etc)
here is an example |
|
|
|
Aug 7 2006, 03:50 PM
Post
#2
|
|
![]() the name is ada. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 4,688 Joined: Dec 2005 Member No: 334,608 |
layout code ?
|
|
|
|
Aug 7 2006, 03:53 PM
Post
#3
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 41 Joined: Jan 2005 Member No: 85,685 |
CODE <style type="text/css">
.mygen { Created using MyGen 2.5 - www.mygen.co.uk } .mygen { Background Properties } table, tr, td { background-color:transparent; border:none; border-width:0;} body { background-image:url('http://img144.imageshack.us/img144/4699/graynewsprintxj0.jpg'); background-attachment:fixed; background-repeat:repeat; border-color:8b0707; border-width:0px; border-style: solid; scrollbar-face-color:ffffff; scrollbar-highlight-color:ffffff; scrollbar-3dlight-color:444444; scrollbar-shadow-color:444444; scrollbar-darkshadow-color:ffffff; scrollbar-arrow-color:444444; scrollbar-track-color:ffffff; } .mygen { Table Properties } table table { border: 0px } table table table table{border:0px} table table table { border-style:solid; border-width:1px; border-color: 000000; background-color: ffffff; } .mygen { Text Properties } table, tr, td, li, p, div { font-family:garamond; color:000000; font-size: 12px; } .btext { font-family:georgia; color:989898; font-size:12px; font-weight:bold;} .blacktext10 { font-family:georgia; color:989898; font-size:12px; font-weight:bold; } .blacktext12 { font-family:georgia; color:444444; font-size:20px; font-weight:; } .lightbluetext8 { font-family:georgia; color:989898; font-size:12px; font-weight:bold; } .orangetext15 { font-family:georgia; color:444444; font-size:20px; font-weight:; } .redtext { font-family:georgia; color:989898; font-size:12px; font-weight:bold; } .redbtext { font-family:georgia; color:989898; font-size:12px; font-weight:bold; } .text { font-family: garamond; color:000000; font-size:12px; } .whitetext12 { font-family:georgia; color:444444; font-size:20px; font-weight:; } .nametext { font-family:georgia; color:444444; font-size:20px; font-weight:; } a:active, a:visited, a:link { font-family:georgia; color:000000; font-size:14px; font-weight:bold; } a:hover { font-family:georgia; color:78667a; font-size:18px; font-weight:bold; } a.navbar:active, a.navbar:visited, a.navbar:link { font-family:georgia; color:000000; font-size:14px; font-weight:bold; } a.navbar:hover { font-family:georgia; color:78667a; font-size:18px; font-weight:bold; } a.redlink:active, a.redlink:visited, a.redlink:link { font-family:georgia; color:000000; font-size:14px; font-weight:bold; } a.redlink:hover { font-family:georgia; color:78667a; font-size:18px; font-weight:bold; } .mygen { Miscellaneous Properties } img { filter:;} a:link img { filter:;} a:hover img { filter:none;} body { cursor:help;} .mygen { Miscellaneous Properties } table {direction:rtl;} table table table {direction:ltr;} </style> |
|
|
|
Aug 7 2006, 04:01 PM
Post
#4
|
|
![]() the name is ada. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 4,688 Joined: Dec 2005 Member No: 334,608 |
basically..
in your code. .mygen { Text Properties } table, tr, td, li, p, div { font-family:garamond; color:000000; font-size: 12px; background-color: COLOR HERE; } .btext { font-family:georgia; color:989898; font-size:12px; font-weight:bold; background-color: COLOR HERE;} .blacktext10 { font-family:georgia; color:989898; font-size:12px; font-weight:bold; background-color: COLOR HERE; } .blacktext12 { font-family:georgia; color:444444; font-size:20px; font-weight:; background-color: COLOR HERE; } .lightbluetext8 { font-family:georgia; color:989898; font-size:12px; font-weight:bold; background-color: COLOR HERE; } .orangetext15 { font-family:georgia; color:444444; font-size:20px; font-weight:; background-color: COLOR HERE; } .redtext { font-family:georgia; color:989898; font-size:12px; font-weight:bold; background-color: COLOR HERE; } .redbtext { font-family:georgia; color:989898; font-size:12px; font-weight:bold; background-color: COLOR HERE; } .text { font-family: garamond; color:000000; font-size:12px; background-color: COLOR HERE; } .whitetext12 { font-family:georgia; color:444444; font-size:20px; font-weight:; background-color: COLOR HERE; } .nametext { font-family:georgia; color:444444; font-size:20px; font-weight:; background-color: COLOR HERE; } a:active, a:visited, a:link { font-family:georgia; color:000000; font-size:14px; font-weight:bold; background-color: COLOR HERE; } a:hover { font-family:georgia; color:78667a; font-size:18px; font-weight:bold; background-color: COLOR HERE; } a.navbar:active, a.navbar:visited, a.navbar:link { font-family:georgia; color:000000; font-size:14px; font-weight:bold; } a.navbar:hover { font-family:georgia; color:78667a; font-size:18px; font-weight:bold; background-color: COLOR HERE; } a.redlink:active, a.redlink:visited, a.redlink:link { font-family:georgia; color:000000; font-size:14px; font-weight:bold; background-color: COLOR HERE; } a.redlink:hover { font-family:georgia; color:78667a; font-size:18px; font-weight:bold; background-color: COLOR HERE;} i added background-color: COLOR HERE; change the bg color. |
|
|
|
Aug 7 2006, 04:07 PM
Post
#5
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 41 Joined: Jan 2005 Member No: 85,685 |
that almost worked...how do I get it to take up the entire width of the table, not just the length of the text? (if thAT makes sense
|
|
|
|
Aug 7 2006, 04:15 PM
Post
#6
|
|
![]() the name is ada. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 4,688 Joined: Dec 2005 Member No: 334,608 |
try adding
width: 100%; at the end of each one background-color: COLOR HERE; |
|
|
|
Aug 7 2006, 04:22 PM
Post
#7
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 41 Joined: Jan 2005 Member No: 85,685 |
yup yup that worked. thank you so very much for your help!
|
|
|
|
Aug 7 2006, 05:26 PM
Post
#8
|
|
![]() the name is ada. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 4,688 Joined: Dec 2005 Member No: 334,608 |
no problem :)
|
|
|
|
![]() ![]() |