Cascading ( CSS ) StyleSheets Need HELP pls !
2 posters
Page 1 of 1
Cascading ( CSS ) StyleSheets Need HELP pls !
Hello,
sorry for my bad english ... I have forum on forumotion (serbian-eagles.lightbb.com) and my forum is on left side of screen but i want to set forum in center of screen ... pls help me :S tnx
In CSS Stylesheet i have written it :
body {
width: 997px;
}
This is all ok but i want it on center of screen like this forum http://www.delagano.tk/ ... tnx
sorry for my bad english ... I have forum on forumotion (serbian-eagles.lightbb.com) and my forum is on left side of screen but i want to set forum in center of screen ... pls help me :S tnx
In CSS Stylesheet i have written it :
body {
width: 997px;
}
This is all ok but i want it on center of screen like this forum http://www.delagano.tk/ ... tnx
sasamatovic- New Member
- Posts : 4
Reputation : 0
Language : Serbian
Re: Cascading ( CSS ) StyleSheets Need HELP pls !
It is in the center.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
sasamatovic- New Member
- Posts : 4
Reputation : 0
Language : Serbian
Re: Cascading ( CSS ) StyleSheets Need HELP pls !
edit: I will give you a solution, just a minute.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Cascading ( CSS ) StyleSheets Need HELP pls !
- Code:
body {margin-left: auto; margin-right: auto;}
Add this code to your css, see if it works.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: Cascading ( CSS ) StyleSheets Need HELP pls !
I solved the problem ! tnx
Just write this :
Just write this :
- Code:
body {
width: 997px;
margin-left: auto;
margin-right: auto;
}
Last edited by Sanket on Wed 17 Feb - 15:00; edited 2 times in total (Reason for editing : Bold & Color Removed)
sasamatovic- New Member
- Posts : 4
Reputation : 0
Language : Serbian
Re: Cascading ( CSS ) StyleSheets Need HELP pls !
Bold and Color are reserved for moderation, like this, so please keep to the default font
Since this thread appears to be solved, I will lock this thread and mark it as solved.
Sanket
Since this thread appears to be solved, I will lock this thread and mark it as solved.
Sanket
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum