Portal news box stretches further right
3 posters
Page 1 of 1
Portal news box stretches further right
this is my forum
www.lolaustralia.com
when you see the portal, you can see news box on the right side, but for some reason it pokes out further to the right then the left.
why is this! please help. I put nice smiley for u!
www.lolaustralia.com
when you see the portal, you can see news box on the right side, but for some reason it pokes out further to the right then the left.
why is this! please help. I put nice smiley for u!
Last edited by TerryAhn on May 14th 2011, 1:04 pm; edited 1 time in total
TerryAhn- Forumember
- Posts : 49
Reputation : 0
Language : english
Re: Portal news box stretches further right
Hello, your title (HELLOOO) is not specific and therefore does not facilitate research via the search option. I am not answering (nor is any other member) until you change your title to a more specific title related to your problem. We ask you to use explicit titles because: Base |
Re: Portal news box stretches further right
Sorry, changed title.
I think this may have to do with css, should I post it here?
I think this may have to do with css, should I post it here?
TerryAhn- Forumember
- Posts : 49
Reputation : 0
Language : english
Re: Portal news box stretches further right
Try adding this to your CSS.
Replace XY with your number.
That is if I understood you right, you want the center the portal page.
Replace XY with your number.
- Code:
.portal {
margin-left: -XYpx;
}
That is if I understood you right, you want the center the portal page.
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: Portal news box stretches further right
Yes i want to center the portal page. What is the number i should replace x and y with?
TerryAhn- Forumember
- Posts : 49
Reputation : 0
Language : english
Re: Portal news box stretches further right
Try -60px.
First search in your CSS do you already have the rule wit margin-left: auto; If you have it replace it with
First search in your CSS do you already have the rule wit margin-left: auto; If you have it replace it with
- Code:
.portal {
margin-left: -60px;
}
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: Portal news box stretches further right
Hmm it doesn't work
I've added another widget to the portal so you can see better what I mean.
The new's is on the left side, recent topics and links in the middle and the log in widget on the right.
But it doesn't get centered
I've added another widget to the portal so you can see better what I mean.
The new's is on the left side, recent topics and links in the middle and the log in widget on the right.
But it doesn't get centered
TerryAhn- Forumember
- Posts : 49
Reputation : 0
Language : english
Re: Portal news box stretches further right
You didn't remove the existing portal rule margin auto, that is why it doesn't work. You must remove that one.
- Code:
.portal {
margin-left: auto;
}
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: Portal news box stretches further right
Ah ok I removed to log in widget and it centered perfectly
But isn't pixels different on each screen. Like is it still centered on all moniters of different resolution?
But isn't pixels different on each screen. Like is it still centered on all moniters of different resolution?
TerryAhn- Forumember
- Posts : 49
Reputation : 0
Language : english
Re: Portal news box stretches further right
Than it should be auto. I would try adding widgets on both sides and leave it on auto center.
Can't please them all, like browsers, so screens.
FM bugs on smaller screen for me.
You could wait for someone else to take a look.
Can't please them all, like browsers, so screens.
FM bugs on smaller screen for me.
You could wait for someone else to take a look.
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: Portal news box stretches further right
what would be the css code for auto centering the portal? O.o
TerryAhn- Forumember
- Posts : 49
Reputation : 0
Language : english
Re: Portal news box stretches further right
- Code:
.portal {
margin-left: auto;
}
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Similar topics
» how to make the news in portal to be postet in the forum Portal
» About News in Portal! Help me!
» Portal News Post & most recent news post
» how can i add the news in the portal like this?
» Portal news
» About News in Portal! Help me!
» Portal News Post & most recent news post
» how can i add the news in the portal like this?
» Portal news
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum