![]() |
| HTML | PHP Scripts | Webmaster Tools | Webmaster Forums | Web Hosting | Domain Names | Webmaster Books |
|
|
#1 |
|
New Member
Join Date: Apr 2009
Webmaster Discussions: 1
Rep Power: 9 ![]() |
I have been trying to get the links on this sheet to move all the way over to the left in a purple bar that is vertical in a column. Please help--because I sure don't know how to do this.
body{margin : 0px;} h1, h2, h3, h4, h5, h6 {font-family: sans-serif; color urple;}address {margin-left: 120px;color: purple; font-style: normal; font-size: 8pt; font-variant: small-caps; text-align: center; clear: both; border-top: 1px purple} #head{margin-left: 120px;float: left;text-align: right; border-bottom-color: purple ; border-bottom-width:1px} #links {float:left; background-color: purple; margin-left: 120px; padding: 2px; border: 5px color purple ; position:absolute;left: 100px; top: 0px} # links a {display:block;font-family: sans-serif; color: white; font-size: 9pt} #links a:link {text-decoration:none} #links a:visited {text-decoration:none} #links a:hover {color: purple; text-decoration: none} #links a:active {text-decoration:none} #links a.newgroup {margin-top: 15px} #main { margin-left: 120px width; 70%; float: left; border-left: 1px solid purple; padding-left: 10px} |
|
|
|
|
|
#2 |
|
Join Date: Aug 2008
Location: Texas
Webmaster Discussions: 501
Rep Power: 21 ![]() ![]() ![]() ![]() |
Re: CSS code help with external sheet
Could you please post the relevant HTML as well? Thank you.
__________________
Be sure to click the reputation icon to give rep to the person who helped you. For web design/development services, check Silentium Designs. |
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2009
Webmaster Discussions: 4
Rep Power: 9 ![]() |
Re: CSS code help with external sheet
Can I include Javascript for this codes?
- Jessica Danial Website Design Services |
|
|
|
|
|
#4 |
|
Join Date: Aug 2008
Location: Texas
Webmaster Discussions: 501
Rep Power: 21 ![]() ![]() ![]() ![]() |
Re: CSS code help with external sheet
Yes, you can use javascript to control styles. You can't place it within your external style sheet, but you can place it anywhere in your HTML to control the styles.
__________________
Be sure to click the reputation icon to give rep to the person who helped you. For web design/development services, check Silentium Designs. |
|
|
|
![]() |
| Bookmarks |
| Tags |
| code, css |
| Thread Tools | |
| Rate This Thread | |
|
|
Similar Webmaster Discussions
|
||||
| Thread | Webmaster Discussion Starter | Forum | Replies | Last Post |
| create a table along the width of the sheet | laks | General Discussion | 1 | 02-15-2004 01:24 PM |
| Access External CSS based on Browser-Specific Country Code | murrayw | CSS Forum | 1 | 09-26-2003 08:17 PM |
| basic css style sheet for print | Bostonrose | CSS Forum | 2 | 04-23-2003 05:42 PM |
| inline style overuled by external sheet | Jackie SENSE | CSS Forum | 5 | 04-02-2003 02:47 PM |
| Style sheet shortcutting - possibilities? | benzden | CSS Forum | 9 | 01-01-2003 01:19 PM |