Hi,
I have created an HTML file by editing a CSS file I got from Blogger.com. I was using this page in a frames page and it was working fine, but then something happened and now the html page no longer fits in the 600px wide frame and I get a scrollbar. I can't for the life of me work out what I've done. Please help!
The HTML file is here: <!-- m --><a class="postlink" href="http://www.bandsoc.com/mpk/home.html">http://www.bandsoc.com/mpk/home.html</a><!-- m -->
The frames page is here: <!-- m --><a class="postlink" href="http://www.bandsoc.com/mpk/index.html">http://www.bandsoc.com/mpk/index.html</a><!-- m -->
I'd be most grateful for any help. Thanks
AltYour page has too much css that has been incorrectly applied.
<div id="wrap" style="width:400px;">
<div id="main-content" style="width:500px;">
</div>
</div>
divitis (<!-- m --><a class="postlink" href="http://developer.apple.com/internet/webcontent/bestwebdev.html">http://developer.apple.com/internet/web ... ebdev.html</a><!-- m -->):
<div class="post-body">
<p>couple of years<br></p>
</div>
The html and css need a re-write.
A temporary solution is to remove all width values from the css and just have one in the body of about 560pxThanks for your help.
Problem solved: don't use CSSActually, I would bet that the solution would be to use CSS but to use it properly. You just don't know how to use it properly.You don't say?!www.w3schools.com
Has a good CCS tutorial.Originally posted by alt20
You don't say?!
Well, I'm just saying that if CSS is used properly, you can achieve just about any practical web layout you want. And that's what matters.
I have created an HTML file by editing a CSS file I got from Blogger.com. I was using this page in a frames page and it was working fine, but then something happened and now the html page no longer fits in the 600px wide frame and I get a scrollbar. I can't for the life of me work out what I've done. Please help!
The HTML file is here: <!-- m --><a class="postlink" href="http://www.bandsoc.com/mpk/home.html">http://www.bandsoc.com/mpk/home.html</a><!-- m -->
The frames page is here: <!-- m --><a class="postlink" href="http://www.bandsoc.com/mpk/index.html">http://www.bandsoc.com/mpk/index.html</a><!-- m -->
I'd be most grateful for any help. Thanks
AltYour page has too much css that has been incorrectly applied.
<div id="wrap" style="width:400px;">
<div id="main-content" style="width:500px;">
</div>
</div>
divitis (<!-- m --><a class="postlink" href="http://developer.apple.com/internet/webcontent/bestwebdev.html">http://developer.apple.com/internet/web ... ebdev.html</a><!-- m -->):
<div class="post-body">
<p>couple of years<br></p>
</div>
The html and css need a re-write.
A temporary solution is to remove all width values from the css and just have one in the body of about 560pxThanks for your help.
Problem solved: don't use CSSActually, I would bet that the solution would be to use CSS but to use it properly. You just don't know how to use it properly.You don't say?!www.w3schools.com
Has a good CCS tutorial.Originally posted by alt20
You don't say?!
Well, I'm just saying that if CSS is used properly, you can achieve just about any practical web layout you want. And that's what matters.