Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
margin-left
- Page 1
Re: margin issues in IE and Firefox
Digital Media
UI / UX Design
14 Years Ago
by Violet_82
… was [CODE]#topnav ul { list-style: none;
margin
-
left
:10px; }[/CODE] but apparently firefox and chrome adds … ul { list-style: none;
margin
-
left
:10px; /*to have some space on the
left
of the top navigation, but it… #topnav li { float:
left
;
margin
-top:1em;
margin
-right:1.5em;
margin
-bottom:0;
margin
-
left
:0; /*bottom
margin
is because I want some …
margin - px
Digital Media
UI / UX Design
13 Years Ago
by asif49
…: repeat-y; height:28px; width:500px; } .right_top {
margin
-
left
:560px;
margin
-top:-341px;
margin
-bottom:auto; background-image:url('/images/top.jpg'); background…padding-right:4px; width: 491px; height: 300px;
margin
-
left
:560px; background-color:#e7f2e5; } .left_bottom {
margin
-
left
:1.8%; background-image:url('/images/bottom.jpg…
margin issues in IE and Firefox
Digital Media
UI / UX Design
14 Years Ago
by Violet_82
…#topnav ul { list-style: none;
margin
-
left
:10px; /*to have some space on the
left
of the top navigation, but it is…I have [CODE]#topnav ul { list-style: none;
margin
-
left
:10px; [/CODE] because I want some space between the… then IE7 Also in [CODE] #topnav li { float:
left
;
margin
: 0 1.5em 1em 0; font-family: Arial, Verdana,…
Re: margin issues in IE and Firefox
Digital Media
UI / UX Design
14 Years Ago
by Violet_82
… 187px of space between the horizontal line and the
left
margin
. Not sure where this space is coming from but…*/ #topnav ul { list-style: none;
margin
-
left
:1em; /*to have some space on the
left
of the top navigation, but it is… their own */ } #topnav li { float:
left
;
margin
:1em 1.5em 0 0; /*bottom
margin
is because I want some space between…
Margin Styling Help for HTML Page in IE
Digital Media
UI / UX Design
13 Years Ago
by jessicaw
… <table width="900" style="
margin
-
left
:35px;
margin
-top:-70px; padding-bottom:30px; padding-top:25px;&…; <table width="200" style="
margin
-
left
:-45px; padding-bottom:30px; padding-top:25px;" …quot;clear" style="height: 20px; padding-
left
:0px;
margin
-top:-530px;"></div> <…
Left and right cols bumped below main col
Digital Media
UI / UX Design
16 Years Ago
by max2me99
…", Times, serif; padding-right: 3px; padding-
left
: 3px; } .photoLEFT {
margin
-right: 8px; } .photoRIGHT {
margin
-
left
: 8px; } .photoCredit { font-size: .6em;…: "Trebuchet MS", Arial, Verdana, sans-serif; text-align:
left
;
margin
-bottom: -0.5em; } /* *** Float containers fix: *** */ .clearfix:after {…
Re: margin issues in IE and Firefox
Digital Media
UI / UX Design
14 Years Ago
by Violet_82
Thanks guys. Arkinder, if I add [CODE]{
margin
: 0; padding: 0; }[/CODE] then how do I play with … be able to say something like [CODE]
margin
-top:1em;
margin
-right:1.5em;
margin
-bottom:0;
margin
-
left
:0;[/CODE] in the code? MidiMagic…
left align container div in shrinking window
Digital Media
UI / UX Design
13 Years Ago
by RazorRamon
… this way. #container{ position: absolute;
left
: 50%;
margin
:0 auto; height:100%; width:1024px;
margin
-
left
: -512px; text-align:
left
; } The div centers in the… i make it to where the window will show the
left
side of my container when the window begins to shrink…
margin help
Digital Media
UI / UX Design
17 Years Ago
by kishou
… works except for the
margin
-bottom. [CODE]a.link{ background: orange;
margin
-top: 10px;
margin
-right: 10px;
margin
-bottom: 100px;
margin
-
left
: 10px; padding: 10px 10px…
Margin not working
Digital Media
UI / UX Design
14 Years Ago
by sirlink99
…) into the [code] .news { width:800px; height:auto;
margin
-
left
:30px;
margin
-right:30px;
margin
-bottom:50px; } [/code] but the blue background that I…
margin-top issue
Digital Media
UI / UX Design
12 Years Ago
by ben.matthews18
Hi, i'm having a problem with the '
margin
-top' property. Here's my current html and css - **HTML -** &…:url(../images/frame/nav_1.gif); } #navwrap{
margin
-
left
:76px;
margin
-top:15px; } Everytime i add the '
margin
-top:15px' to the 'navwrap' div it…
margin in css
Digital Media
UI / UX Design
15 Years Ago
by rudz
[code=css]
margin
-
left
:auto;
margin
-right:auto;[/code] is working in firefox but not working in ie can someone help plz i want to center the page .
Re: margin in css
Digital Media
UI / UX Design
15 Years Ago
by ko ko
'
margin
' auto needs DOC type in IE. And what is your …
Re: Margin problem between <il>'s in IE 6
Digital Media
UI / UX Design
15 Years Ago
by seo1394
…" and margins are controlled by four properties,
margin
-
left
,
margin
-right,
margin
-top and
margin
-bottom. We can minimize space around blockquote by following… css code, blockquote {
margin
-top: 1em;
margin
-right: 0em;
margin
-bottom: 1em;
margin
-
left
: 0em; } For more information you can visit…
Re: Margin problem
Digital Media
UI / UX Design
16 Years Ago
by sreein1986
…;> <!-- body {
margin
-
left
: 0px; /* write howmuch
margin
here */
margin
-top: 0px; /* write howmuch
margin
here */
margin
-right: 0px; /* write howmuch
margin
here */
margin
-bottom: 0px; /* write…
CSS Floating menu makes page jump to left only on certain pages
Digital Media
UI / UX Design
15 Years Ago
by drewjj
…{ color:#2d2700; } #menu_bar { width:875px; height:37px;
margin
-top:6px;
margin
-
left
:auto;
margin
-right:auto; background:url(../../Images/menu_bg.gif) repeat-x…
margin
-
left
:auto;
margin
-right:auto; text-align:center; float:
left
; width:820px;
margin
-top:10px;} /*Bottom of page*/ #bot_l {
margin
-
left
:auto;
margin
-right:auto; width:820px;
margin
…
Yet another margin question
Digital Media
UI / UX Design
15 Years Ago
by jemmsiep
…15px 5px;
margin
-top: 20px;
margin
-right: 0px;
margin
-bottom: 0px;
margin
-
left
: 10px;…
margin
-
left
: 10px; border: medium ridge #CCCCCC; } .floatleftimgnoborder { float:
left
;
margin
-right: 30 ';
margin
-right: 20px; } .twoColFixLtHdr #container #gsearch { float:
left
;
margin
-
left
: 50px;
margin
-right: 100px;
margin
…
Get rid of margin
Digital Media
UI / UX Design
15 Years Ago
by grungina
…; border-top: 1px dashed #999999; float:
left
; clear:
left
; width:270px; } #sidebarNav li b { float:
left
;
margin
-
left
:-10px; position:relative; } #sidebarNav a { color: #… 17px; } #pages .text { font-size: 1.4em; color: #1A1A1A;
margin
-
left
: 0.85em;
margin
-top: 0em; } p { line-height: 1.5em; padding: 2em…
Re: Get rid of margin
Digital Media
UI / UX Design
15 Years Ago
by macneato
…; border-top: 1px dashed #999999; float:
left
; clear:
left
; width:270px; } #sidebarNav li b { float:
left
;
margin
-
left
:-10px; position:relative; } #sidebarNav a { color: #4f4d4b…: 17px; } #pages .text { font-size: 1.4em; color: #1A1A1A;
margin
-
left
: 0.85em;
margin
-top: 0em; } p { line-height: 1.5em; padding: 2em…
Re: Get rid of margin
Digital Media
UI / UX Design
15 Years Ago
by grungina
…; border-top: 1px dashed #999999; float:
left
; clear:
left
; width:270px; } #sidebarNav li b { float:
left
;
margin
-
left
:-10px; position:relative; } #sidebarNav a { color: #… 17px; } #pages .text { font-size: 1.4em; color: #1A1A1A;
margin
-
left
: 0.85em;
margin
-top: 0em; } p { line-height: 1.5em; padding: 2em…
Float: Left; not working in CSS
Digital Media
UI / UX Design
13 Years Ago
by Birdmanskii
…: 200px; height: 150px;
margin
-
left
: 5px; float:
left
; } #review_info { width: 500px; height: auto;
margin
-
left
: 20px;
margin
-top: 20px;
margin
-bottom: 10px; float:
left
; font-family: Arial, Helvetica…
Re: Float: Left; not working in CSS
Digital Media
UI / UX Design
13 Years Ago
by Dandello
…width: 200px; height: 150px;
margin
-
left
: 5px; float:
left
; } #review_info { width: 500px;
margin
-
left
: 20px;
margin
-top: 20px;
margin
-bottom: 10px; float:
left
; font-family: Arial, Helvetica…-indent: 225px; color: #B6B3B3; } #band_info { width: 500px;
margin
-
left
: 20px; float:
left
; font-family: Arial, Helvetica, sans-serif; color: #B6B3B3; } …
Re: Float: Left; not working in CSS
Digital Media
UI / UX Design
13 Years Ago
by carrieathomer
…CODE]<div style="clear:both;float:
left
"> <div id="… remove the
margin
left
210 px of review div [CODE]#review {
margin
-
left
: 0px;
margin
-top: 5px; padding-
left
: 5px; …width: 500px; height: auto; outline-style: solid; outline-color: #E0E0E9; outline-width: 1px; float:
left
…
Centering left-aligned text using CSS
Digital Media
UI / UX Design
15 Years Ago
by PopeJareth
… for the text. When I try to use [icode]
margin
-
left
:auto;
margin
-right:auto;[/icode] the spacing for the columns is destroyed…=css] body {
margin
-
left
: auto;
margin
-right: auto; min-width:1020px; max-width:1020px; ... } .tripletBox{ float:
left
; width:26.36%;
margin
-
left
:3.48%;
margin
-right:3…
Safari Margin Issue - not the negative margin on a floated element bug
Digital Media
UI / UX Design
15 Years Ago
by lisan28
…{ position: fixed; top: 0px;
left
: 37%; height: 125px; width: 316px;
margin
: 0 auto; background: url(pink_logo2… } ul.NoBulletNoIndent { list-style-type: none;
margin
-
left
: 0px; padding-
left
: 0px } div#top_left { height: 314px; width:…
my left and right borders are not adjusting right.
Digital Media
UI / UX Design
14 Years Ago
by matthewl
… css is: [ICODE]body { font-family:sans-serif;
margin
:0; } #head { height:100px; } #head .…} #tabs ul { list-style-type: none;
margin
:0;
margin
-
left
:1em; padding:0; } #tabs ul li {…lborder { width:16; position:relative; float:
left
; height:100%;
left
:0; clear:
left
; background-image:url('imgs/lborder.png'); } …
Firefox extra margin at top?
Digital Media
UI / UX Design
13 Years Ago
by loveforfire33
… font-size:14px; color:#ffffff; width:750px;
margin
:0px auto;
margin
-bottom:15px; background-color:#000000; border:1px solid…max-width: 1024px) { /* Specific to this particular image */ img.bg {
left
: 50%;
margin
-
left
: -512px; /* 50% */ } } /* html { background: url(images/…
Beginner - Problem with text margin
Digital Media
UI / UX Design
13 Years Ago
by bombay1982
… move text 10px to the right . I was trying with
margin
left
and right in body but haven't worked out. I…; width: 968px; } #left_column, #center_column, #right_column { width: 316px; float:
left
;
margin
-top: 10px; } #center_column, #right_column {
margin
-
left
: 10px; } body { font-family: Avalon, sans-serif, serif…
ScrollTo left scroll
Programming
Web Development
12 Years Ago
by vizz
…). It is not scrolling to div having
margin
, **
margin
-
left
: -1160px;** or **
margin
-top: -600px;** I have following div …about" class="content" style="
margin
-
left
:-1160px;"> <h1>I'…contact" class="content" style="
margin
-
left
:600px;"> <h1>I'…
Re: Centering left-aligned text using CSS
Digital Media
UI / UX Design
15 Years Ago
by PopeJareth
I think I have come up with a small hackjob of a solution. If I add [code=css] .linkBlock p{
margin
-
left
:80px; }[/code] Then the text is lined up with their above headers, and nothing strange is happening with the floating divs. What do you guys think about this (slightly tacky) solution?
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC