Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Default template CSS fixes.
20-09-2010, 07:33 PM (This post was last modified: 21-09-2010 07:43 PM by brian8bit.)
Post: #1
Default template CSS fixes.
While the original style.css template does validate, it does so with 31 warnings. I fixed these, mostly by just adding; background-color, where it hadn't been before. But that still left three warnings about this section;

Code:
#wrapper {
        width:864px;
        padding:0px;
        border:1px solid #ffffff;
        background-color:#ffffff;
        color:#000000;
        margin:0 auto;
        }

... which was "Same color for background-color and border-right-color". I fixed that by removing the "border" setting. I then set the "padding" option above to 1px and that gives you the illusion of the "border" and the original theme now validates completely without errors and looks identical to the default supplied version.
High tech, low life.
Find all posts by this user
21-09-2010, 05:47 AM
Post: #2
RE: Default template CSS fixes.
Hi Brian,

Excellent work. Smile

I looked at the upload issue and please try uploading the files again as it should work now.

Best Regards

Andrew
www.andrewemmett.co.uk - lifestyle, tech and all sorts of geek
Find all posts by this user
21-09-2010, 11:02 AM
Post: #3
RE: Default template CSS fixes.
Should be attached now Smile


Attached File(s)
.php  index.php (Size: 1.42 KB / Downloads: 103)
.css  style.css (Size: 3.27 KB / Downloads: 90)
High tech, low life.
Find all posts by this user








Forum Jump:


User(s) browsing this thread: 1 Guest(s)