| | |
CSS DIV question
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Jul 2007
Posts: 84
Reputation:
Solved Threads: 2
My div background color did not show up when I placed it in the external CSS sheet. I went ahead and made it an inline style and got my desired result except for thebig space between the right side of the picture and the edge of the containing div. Why is that? I was trying to stay away fro tables which immediately gave me the result I have now.
HTML and CSS Syntax (Toggle Plain Text)
@charset "utf-8"; /* CSS Document */ body{ background:#edba19; background-repeat:repeat-x; background-image:url(background.jpg); background-position: top; } div #container{ font-family:Arial, Helvetica, sans-serif; font-size:10px; background-color:#843382; text-align: justify; margin-left: 40px; color: #FFFFFF; } div #name{ padding-left:30px; } div #logo{ padding-left: 20px; float: left; padding-right: 20px; } div #headpic{ padding-bottom: 3px; } a:active,a:link{ color: #FFFFFF; text-decoration: underline; } a:hover { text-decoration: underline; color:#FFFFFF} a img {border:0px; } #header { }
please also post the HTML code as in above code you have lot of divs
Freedom in the Mind, Faith in the words.. Pride in our Souls...
Indian Developer
http://falaque.wordpress.com/
Indian Developer
http://falaque.wordpress.com/
![]() |
Similar Threads
- CSS Div Element Question (HTML and CSS)
- CSS DIV container align multibrowser+unwanted margin (HTML and CSS)
- CSS/ Div Positioning problem (HTML and CSS)
- CSS Div help needed (HTML and CSS)
- css div's and tables table cells and scrolling (HTML and CSS)
- HTML/CSS DIV help needed (HTML and CSS)
- CSS Div's For Myspace (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: repeating menu?
- Next Thread: Frameset syntax...
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7





