Webking
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Many bots come to this site. We ping all post everyday. You will got indexed fast!
 
HomeSearchLatest imagesRegisterLog inSEO
Get top 10 ranking in Google within few months.
Mix Link Building packages-Monthly $150 -$450 per month

 

 Margins problem

Go down 
4 posters
AuthorMessage
tharusha




Posts : 1
Join date : 2010-05-04

Margins problem Empty
PostSubject: Margins problem   Margins problem EmptyTue May 04, 2010 12:34 am

Hey , I've been into web design for abt 2 months ... and i've been having this annoying problem .. whenever I wanna define margins for any " <div " ... every browser shows it differently .... I only got internet explorer 7 to show it the way i want .. other browsers like Firefox .. Safari .. Google Chrome. .. show it in a wrong way ... can someone please tell me why ?
Back to top Go down
chathuranga




Posts : 1
Join date : 2010-05-26

Margins problem Empty
PostSubject: hai   Margins problem EmptyWed May 26, 2010 1:39 am

One of the best ways to solve cross-browser compatibility issues is to never add side margins to an element with a set width. Instead, put another div inside that div. Set the width on the outer div, and the side margins on the inner div.Same with top and bottom margins. Never set top or bottom paddings/margins to a div with a fixed height. Put a div inside, and set the height on the outer div, and the margins on the inner div.
Back to top Go down
sonu012




Posts : 84
Join date : 2011-02-26

Margins problem Empty
PostSubject: Re: Margins problem   Margins problem EmptySat Feb 26, 2011 12:29 am

However I am struggling with one specific problem - as you can see on attached picture I can not get rid of spaces between modules, marked with arrows and numbers 1 and 2. I suppose they are defined by margins - but Chrome does not show any in metrics and I can not identify the culprit in template's css (which is based on Atomic, as mentioned). As I cannot upload the template (currently running it on on my pc), I can only ask for one thing: where is the default setting for space between modules, eg. between Spotlight1 and Spotlight 2 and between the user positions in one Spotlight?


KIITEE 2011 | Amrita 2011
Back to top Go down
stevemack




Posts : 44
Join date : 2010-08-27

Margins problem Empty
PostSubject: Re: Margins problem   Margins problem EmptyFri Oct 28, 2011 3:57 am

it is always recommended not to go with specifying attributes like width. As above amte said, Chathuranga said, you can solve the problem with his words.
Back to top Go down
Sponsored content





Margins problem Empty
PostSubject: Re: Margins problem   Margins problem Empty

Back to top Go down
 
Margins problem
Back to top 
Page 1 of 1
 Similar topics
-
» Title on Homepage Problem
» Getting High PR in Google Problem
» How to solve out navigation problem while applying THREE20 in project ?

Permissions in this forum:You cannot reply to topics in this forum
Webking :: Website Development :: HTML/XHTML/DHTML/CSS-
Jump to: