Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 04-06-2005, 07:57 AM   #16 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
put a bgcolor attribute in the cell that has: width="220"

example:
HTML Code:
<table>
<tr>
  <td width="220" bgcolor="#F3F3F3">
__________________
Mike
sde is offline   Reply With Quote
Old 04-06-2005, 10:34 AM   #17 (permalink)
awieds
Registered User
 
Join Date: Mar 2005
Posts: 42
awieds is on a distinguished road
OK, I am now trying your code. Basically I have a topbar, sidebar, and bottombar - a page for each and then I include all those files. So I removed all the style sheets for those pages (my mistake to put them there) and then I put all the style tags in my .css file. However, not everything is working now. Specificaly
a.side{
text-decoration: none;
}
awieds is offline   Reply With Quote
Old 04-06-2005, 10:40 AM   #18 (permalink)
awieds
Registered User
 
Join Date: Mar 2005
Posts: 42
awieds is on a distinguished road
If I put the style sheets on each page then it works. But I don't want to have to type it on each page. What am I doing wrong? Shouldn't the css file I'm including work?
awieds is offline   Reply With Quote
Old 04-06-2005, 10:50 AM   #19 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
you need to put all the CSS in style2.css
HTML Code:
body{
  font-family:Verdana, Arial, Helvetica, sans-serif;
  font-size: 10px;
  padding: 0px;
  margin: 0px;
}
td {
  font-family:Verdana, Arial, Helvetica, sans-serif;
  font-size: 10px;
}
#mySideNav {
  border-right: 1px solid #000000;
}
#myTopNav {
  border-bottom:1px solid #000000;
}
a.side{
  text-decoration: none;
}

a.side:visited,a.side:link,a.side:active {
   color: black;
}

a.label{
  color:#0000FF;
  text-decoration: none;
}
also, you should really look into asp includes if you are having to type the header in every page.
__________________
Mike
sde is offline   Reply With Quote
Old 04-06-2005, 10:52 AM   #20 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
like i said before, view source is a great tool for debugging .. all i did was look up your style sheet name, then pulled up the style sheet in the browser window. that showed that you did not have any of your a.side classes defined. ( or anything else besides body and description )
__________________
Mike
sde is offline   Reply With Quote
Old 04-06-2005, 11:19 PM   #21 (permalink)
awieds
Registered User
 
Join Date: Mar 2005
Posts: 42
awieds is on a distinguished road
Thanks, I'm begining to get it to work, and to understand a little better. But I still have another question (I hope it's ok?)
On my screen which is 1024x768 I need to scroll for the end of the solid topbar. But why do I need to if the large image is 800? Then the bottom bar, if I scroll there is whitespace on the right. But if I enlarge my screen to the largest then the graphic is there and there is no white space. How can I fix that?
Thanks
awieds is offline   Reply With Quote
Old 04-07-2005, 12:08 AM   #22 (permalink)
awieds
Registered User
 
Join Date: Mar 2005
Posts: 42
awieds is on a distinguished road
OK, I think I figured out the problem with the yopbar, I'm just not sure how to fix it. I think it's the second row in the table which is a line of buttons. I made a blank button to tile but I think that's the problem, it doesn;t seem to be working.
Thanks
awieds is offline   Reply With Quote
Old 04-07-2005, 02:01 AM   #23 (permalink)
awieds
Registered User
 
Join Date: Mar 2005
Posts: 42
awieds is on a distinguished road
I figured it out! Thanks
awieds is offline   Reply With Quote
Old 04-07-2005, 06:35 AM   #24 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
download firefox and look at it. there are lots of firefox users these days. doesn't look like it's picking up your style sheet.
__________________
Mike
sde is offline   Reply With Quote
Old 04-07-2005, 10:18 PM   #25 (permalink)
awieds
Registered User
 
Join Date: Mar 2005
Posts: 42
awieds is on a distinguished road
I know, I was looking at how can I fix that? Also I was at work yesterday and it looked great. Now I'm at home on a small screen 800x600 and it looks terrible! You have to scroll to the right but there is nothing there except the bottom bar!
awieds is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 08:44 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting