Jump to content


Photo

Trouble setting widths


  • Please log in to reply
2 replies to this topic

#1 roopurt18

roopurt18
  • Staff Alumni
  • Advanced Member
  • 3,749 posts
  • LocationCalifornia, southern

Posted 26 April 2006 - 07:17 PM

I have a three column form where I'm trying to set up specific widths for the columns. I have a test page that works fine but when I view it in the context of the actual site none of the widths are being set.

The HTML file: [a href=\"http://rdev.ibswebview.com/junk/NewServiceRequest.html\" target=\"_blank\"]http://rdev.ibswebview.com/junk/NewServiceRequest.html[/a]
The CSS file: [a href=\"http://rdev.ibswebview.com/junk/webview.css\" target=\"_blank\"]http://rdev.ibswebview.com/junk/webview.css[/a]

This is the first time I've really used stylesheets and most of this project I inherited from another individual. I'm sure it's something small that I'm overlooking and I'm hoping someone with more experience can point me in the right direction.

The working test HTML file: [a href=\"http://rdev.ibswebview.com/junk/nsr.html\" target=\"_blank\"]http://rdev.ibswebview.com/junk/nsr.html[/a]
The working test CSS file: [a href=\"http://rdev.ibswebview.com/junk/stylesheet.css\" target=\"_blank\"]http://rdev.ibswebview.com/junk/stylesheet.css[/a]

Thanks!
PHP Forms : Part I | Part II

JavaScript: Singleton

http://www.rbredlau.com

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 26 April 2006 - 07:30 PM

For what you want to do it would be best to use a table, like you have done with the Customer details bit.

Also you say the working Test html file is working but its not, FF fails to apply the widths to your divs. Only IE7 displays it correctly.


#3 roopurt18

roopurt18
  • Staff Alumni
  • Advanced Member
  • 3,749 posts
  • LocationCalifornia, southern

Posted 26 April 2006 - 07:37 PM

I had a table previously but ran into a problem trying to add fields to it with javascript. I figured if I dropped the table and used <div> tags I could add new rows to the table easily.
PHP Forms : Part I | Part II

JavaScript: Singleton

http://www.rbredlau.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users