473,385 Members | 1,587 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Using CSS results in changes in page display

2
I am working on validating a website to 4.01 standards. I have not had much experience in html or css until this project so it may be a simple mistake or misunderstanding.

Basicly what is happening is that I am getting small spaces between tables where there weren't any before. This throws the alignment way out of wack.

The website is generated using apache server and php. The pages are the results of the generated page with all the main text removed.

http://powercoreeng.com/page.css

http://powercoreeng.com/menuold.html

http://powercoreeng.com/menunew.html

I have tried everything I can think of but I can't seem to find a way to make the css version match the old non-css version.
Jan 8 '08 #1
2 1069
Tanj
2
I figured out the problem.

It appears to be that <table> properties don't transfer to <td> and <tr>.

To fix the problem I just added this to my css file
Expand|Select|Wrap|Line Numbers
  1. td
  2. {
  3.     border-style: none;
  4.     border-width: 0px;
  5.     border-spacing: 0px;
  6.     padding: 0px 0px 0px 0px;
  7. }
  8. tr
  9. {
  10.     border-style: none;
  11.     border-width: 0px;
  12.     border-spacing: 0px;
  13.     padding: 0px 0px 0px 0px;
  14. }
  15.  
Thanks for being my sounding board :) I hope this will help someone else who may have run across this
Jan 8 '08 #2
improvcornartist
303 Expert 100+
Just a note - instead of repeating css like that, you can combine them.
Expand|Select|Wrap|Line Numbers
  1. tr, td
  2. {
  3.     border-style: none;
  4.     border-width: 0px;
  5.     border-spacing: 0px;
  6.     padding: 0px 0px 0px 0px;
  7. }
  8.  
Jan 9 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

16
by: Dave Smithz | last post by:
Hi, In summary: I want to a form to submit information via a HTTP POST, however, when using Internet Explorer I want to be able to use the back button and all the information retained....
17
by: gokul | last post by:
Hi, Iam a newbie to dotnet and I experience problems in using the Browser control in VB .net. Though Iam able to use it with its basic features, I need to customise it. ...
3
by: GB | last post by:
After having established a connection to my local db using tcp/ip I run a simple select request. I allways get following error when using the interactive tab in the command center: "DBA2192...
1
by: Neo Geshel | last post by:
I am having conflicting results with two pieces of identical code. One is an insert, the other is an update to a db. The first code, which works, is this: Sub Add3_Click(sender As Object, e As...
5
by: Joe Molloy | last post by:
Hi Group, I have a task and I'm interested to see what ideas people have here for the best way of tackling it. I have a table of products. Each of the products is associated with a certain...
53
by: Hexman | last post by:
Hello All, I'd like your comments on the code below. The sub does exactly what I want it to do but I don't feel that it is solid as all. It seems like I'm using some VB6 code, .Net2003 code,...
1
by: jazzart | last post by:
Hi there, I'm fairly new to programming with Asp.Net 2.0 so I'm finding myself regularly fumbling around in the dark a bit, so to speak. I'm currently using Visual Web Developer and have been...
7
by: daveeboi | last post by:
..I have been strugling to get this part of my site working correctly even though I can't see anything wrong with my code. I am trying to search a database and display paged results. But everytime...
1
by: runway27 | last post by:
i want to implement a feature where a user searches with a keyword and search results are displayed according to the keyword or phrase entered by the user. following are the steps i want to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.