HELP CSS Text Problem!
-
Hello, I have designed a simple CSS layout in Notepad and everything is OK except my heading and a paragraph are not displaying correctly. Both of them should display below the banner above the page but they are displaying near the footer. The texts which are not displaying correctly are the heading **"Contact Us"**and the paragraph "Use this form below". PLEASE HELP! I want both of them to be displayed below the banner above my page. :(( Here is a download link of my page: http://www.2shared.com/file/Q-9ta_-V/web.html
-
Hello, I have designed a simple CSS layout in Notepad and everything is OK except my heading and a paragraph are not displaying correctly. Both of them should display below the banner above the page but they are displaying near the footer. The texts which are not displaying correctly are the heading **"Contact Us"**and the paragraph "Use this form below". PLEASE HELP! I want both of them to be displayed below the banner above my page. :(( Here is a download link of my page: http://www.2shared.com/file/Q-9ta_-V/web.html
-
Hello, I have designed a simple CSS layout in Notepad and everything is OK except my heading and a paragraph are not displaying correctly. Both of them should display below the banner above the page but they are displaying near the footer. The texts which are not displaying correctly are the heading **"Contact Us"**and the paragraph "Use this form below". PLEASE HELP! I want both of them to be displayed below the banner above my page. :(( Here is a download link of my page: http://www.2shared.com/file/Q-9ta_-V/web.html
Hi there is a problem in width of div.. You have class of #container,#leftsidebar and #content concentrate on width only...
#container {
width: 750px;
}
#leftsidebar {
border: 3px dashed orange;
width: 180px;
}
#content {
width: 570px;
}here your total width is 750. so you set leftsidebar=180 and content=570 so total is 750...right but in leftsidebar there is a border with width of 3px so reduce #content width with 3px of left-border and 3px of right-border so your new #content width is 570 - 3-3 = 564 px and your problem is solved... :)
If a man hasn't discovered something he will die for, he isn't fit to live. -martin luther king
-
Hi there is a problem in width of div.. You have class of #container,#leftsidebar and #content concentrate on width only...
#container {
width: 750px;
}
#leftsidebar {
border: 3px dashed orange;
width: 180px;
}
#content {
width: 570px;
}here your total width is 750. so you set leftsidebar=180 and content=570 so total is 750...right but in leftsidebar there is a border with width of 3px so reduce #content width with 3px of left-border and 3px of right-border so your new #content width is 570 - 3-3 = 564 px and your problem is solved... :)
If a man hasn't discovered something he will die for, he isn't fit to live. -martin luther king
following are the updated HTML
 Contact Us
Use this form below: * [Home](#) * [About](#) * [Photo Gallery](#) * [Video Gallery](#) * [Contact](#)  Copyright 2011 by Angel Ali
following are the updated CSS class
#content {
float: left;
overflow: hidden;
width: 570px;
}Thanks, Imdadhusen
sunaSaRa Imdadhusen +91 99095 44184
-
following are the updated HTML
 Contact Us
Use this form below: * [Home](#) * [About](#) * [Photo Gallery](#) * [Video Gallery](#) * [Contact](#)  Copyright 2011 by Angel Ali
following are the updated CSS class
#content {
float: left;
overflow: hidden;
width: 570px;
}Thanks, Imdadhusen
sunaSaRa Imdadhusen +91 99095 44184
I thing it is not working yet... you need not to change your older html and css just change the width of Content So your HTML is like
 * [Home](#) * [About](#) * [Photo Gallery](#) * [Video Gallery](#) * [Contact](#) 
Contact Us
Use this form below:
Copyright 2011 by Angel Ali
And CSS
#content {
width:564px;
float:right;
overflow:hidden;
}Where can we go to find God if we cannot see Him in our own hearts and in every living being -Swami Vivekananda