Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Closed Thread
 
Thread Tools Display Modes
Share |
  #1  
Old 12-23-2014, 02:00 PM
Guerino1 Guerino1 is offline
Contributing Member
 
Join Date: 08-28-10
Posts: 120
iTrader: 0 / 0%
Automatic width adjustment of header DIV to fit size of window?

Hi,

I have a web page that is segmented by DIVs, one of which encapsulates a Javascript visualization created with the D3js library.

The problem is that the DIV used for the header is not adjusting to be the width of the browser window, as I resize the window. It does not even adjust to fit the entire width of the body, which includes the visualization.

I've used the CSS style: "html, body { margin: 0px; padding: 0px; width: 100%;}" to try to ensure that the entire body can adjust, and I've set margins and padding to 0, as recommended by different forums, but the problem still persists.

Any thoughts on how to correct the issue is greatly appreciated.

Thank you
 

Advertisement

Advertisement

  #2  
Old 01-02-2015, 11:17 AM
BrianJM BrianJM is offline
Junior Member
 
Join Date: 03-11-10
Posts: 24
iTrader: 0 / 0%
What browser/version are you testing in?
 
  #3  
Old 01-05-2015, 09:18 AM
Guerino1 Guerino1 is offline
Contributing Member
 
Join Date: 08-28-10
Posts: 120
iTrader: 0 / 0%
Quote:
Originally Posted by BrianJM View Post
What browser/version are you testing in?
I'm using the latest version of Safari but the problem was fixed this weekend. Thanks for trying to help, though!
 
Go Back   Webmaster Forum > Web Development > Coding Forum

Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fixed width web page not sitting in centre of window in IE RamR1 Coding Forum 4 12-17-2010 12:02 PM
Limiting the size of a new window. Muddy Web Design Lobby 22 03-22-2009 10:27 PM
Quote frame width adjustment in phpBB bytech Coding Forum 3 12-02-2003 08:59 PM
Emoticons window size bytech Coding Forum 4 11-16-2003 11:51 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 10:00 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC