- This topic is empty.
-
AuthorPosts
-
July 6, 2014 at 11:00 am #174825ninetailParticipant
Hey everyone. Thank you for your time in advance.
The site its regarding is http://www.celicaracing.no
And as you can see I cannot seem to margin the right side properly like the left side.
Its sticking out.What am I doing wrong?
I havent been doing CSS in years so im rusty as can be.
Thank you again for helping a newbie. :-)[MOD EDIT – Codedump Removed]
July 6, 2014 at 11:07 am #174827Paulie_DMemberPlease no codedumps.
July 6, 2014 at 11:09 am #174828Paulie_DMemberFirst thing you will hear (after the above) is…
Don’t do page layout with tables
Then…you are using elements like
<center>
which are no longer valid HTML under the 5 spec.As for the navigation
#navigation { clear: left; /* float: left; */ /* not required*/ /* width: 100%; */ /* not required */ background: #e4e4e4 0 25% repeat; font-family: Trebuchet MS, Helvetica, sans-serif; border-bottom: 1px solid #000000; overflow: hidden; margin-left: 2px; margin-right: 2px; }
Finally, the cell is the right width, it just that you are using a background image as a ‘border’ making it look too narrow.
July 6, 2014 at 11:16 am #174830ninetailParticipantOh snap sorry about that.
Guess I will have to update myself a bit though it seems, haha.
But was hoping for a temporary fix, guess I could redo the layout afterwards when I have more time on my hands.
edit
Thank you for that link btw! Looks very informative.July 6, 2014 at 11:28 am #174832ninetailParticipantI tried removing Width: but that removed the centering and style.
But removing both Width and Float helped it seems.I didnt copy paste the source, which would’ve helped since both where skipped out, but I noticed you wrote Float was required so tried with that first.
But everything seems to look better now. Thank you so much for your time and informative suggestions! I will be sure to read that link. Looks very interesting. Problem is I dont have that much time to study as I did. Thanks again! :-)
July 6, 2014 at 11:37 am #174835Paulie_DMemberbut I noticed you wrote Float was required so tried with that first.
Sorry that was my error..is was of course, NOT required.
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.