I am creating a new Joomla template and having issues with a Div.
I am creating the layout with a Div Container that will have the main structure inside.
I want the Container to have a width of 100% but when I do it and preview it in a browser there is a space of about 3px on each side of the screen. So, it is not covering 100% of the screen on either side.
Also, the 100% Div also creates a horizontal scroll bar on the bottom of the screen if I give it a Position value of Absolute etc.
Here is the CSS for the container:
And here is the HTML:
Any help would be greatly appreciated.
I am creating the layout with a Div Container that will have the main structure inside.
I want the Container to have a width of 100% but when I do it and preview it in a browser there is a space of about 3px on each side of the screen. So, it is not covering 100% of the screen on either side.
Also, the 100% Div also creates a horizontal scroll bar on the bottom of the screen if I give it a Position value of Absolute etc.
Here is the CSS for the container:
Code:
#container {
padding: 5px;
width: 100%;
border: 1px solid #282828;
}
And here is the HTML:
Code:
<div id="container">Content for id "container" Goes Here</div>
Any help would be greatly appreciated.