Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2002
Posts: 37
User
User
Offline
Joined: Nov 2002
Posts: 37
I've got some styles that are working just fine displaying my main banner, which you can see simply going to http://www.coreplanets.com

The blue banner across the top that says COREPLANETS.COM is what I want on every stylesheet.

I'm working on various colors of the banner to work with the various stylesheet colors.

However, some don't want to display the top banner, or display it inproperly.

For instance, I have this stylesheet at http://www.coreplanets.com/ubbthreads/stylesheets/delpurple.css

And the preview on my forums can be seen at http://www.coreplanets.com/ubbthreads/previewskin.php?skin=delpurple

You'll notice its all jacked up. Solid blue across there.

My default header is coded as:

Code
<div align="center"><br />	<table width="95%" border="0" cellspacing="0" cellpadding="0"><br />		<tr><br />			<td class="lefthead"></td><br />			<td class="centerhead">&nbsp;</td><br />			<td class="righthead"></td><br />		</tr><br />		<tr><br />			<td colspan="3"> </td><br />		</tr><br />	</table><br /></div>


If you view the html source when viewing the preview style page I link to above, you'll notice that it has properly inserted the above header code.

The pertinent section of the stylesheet I referenced above is at the very top of the .css file and looks like this:

Code
// My Custom Stuff<br /><br />.lefthead {<br />       background-image: url(http://www.coreplanets.com/graphics/coolblue_logo.gif);<br />       width: 465px;<br />       height: 110px;<br />}<br /><br />.centerhead {<br />       background-image: url(http://www.coreplanets.com/graphics/coolblue_center.gif);<br />       height: 110px;<br />}<br /><br />.righthead {<br />       background-image: url(http://www.coreplanets.com/graphics/coolblue_right.gif);<br />       width: 105px;<br />       height: 110px;<br />}<br /><br /><br />// End My Custom Stuff


As you can see from the preview its not displaying the banner properly, yet, using the exact same code, it displays properly in my default light blue stylesheet.

I've looked at the code for several hours now and am at a loss at what is going on. I'm hoping some guru here will see some little thing I've not done that is causing the problem.

Sponsored Links
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
Have you tried removing the comments in the deep purple style sheet -take out the // My Custom Stuff text.

Joined: Nov 2002
Posts: 37
User
User
Offline
Joined: Nov 2002
Posts: 37
WTH???

That was it. I took my two comment lines out and they now render properly. Weird, especially considering it works fine in two other css files and I have comment lines in there too.

Well, thanks for the suggestion cause it worked.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)