HighDots Forums  

CSS question - image styling.

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss CSS question - image styling. in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Brian
 
Posts: n/a

Default CSS question - image styling. - 10-25-2005 , 11:50 AM






I am wondering if I can style an image. I created a space in which I
would like the image to be centered in or have certain amount of padding
to. How do I do that?

What I am talking about, can be viewed here:
http://www.agilitygraphics.com/clients/bdc/

I would like to certer the BDC in the grey space up top. The CSS is
here, just in case:
http://www.agilitygraphics.com/clients/bdc/css/browman.css


Thanks for any help!
Brian


Reply With Quote
  #2  
Old   
Pablo
 
Posts: n/a

Default Re: CSS question - image styling. - 10-25-2005 , 12:26 PM






Hi

Place this in your style sheet an play around.

#logocell img {padding: 20px; margin:0 220px 0;}

--
Cheers Pablo


http://www.dellwebsites.com

"Brian" <brian (AT) agilitygraphics (DOT) com> a écrit dans le message de news:
djlk8j$pol$1 (AT) forums (DOT) macromedia.com...
Quote:
I am wondering if I can style an image. I created a space in which I would
like the image to be centered in or have certain amount of padding to. How
do I do that?

What I am talking about, can be viewed here:
http://www.agilitygraphics.com/clients/bdc/

I would like to certer the BDC in the grey space up top. The CSS is here,
just in case:
http://www.agilitygraphics.com/clients/bdc/css/browman.css


Thanks for any help!
Brian




Reply With Quote
  #3  
Old   
Pablo
 
Posts: n/a

Default Re: CSS question - image styling. - 10-25-2005 , 12:27 PM



P.S Are you Brian?

--
Cheers Pablo


http://www.dellwebsites.com

"Pablo" <dcdscs (AT) sdvdsvs (DOT) com> a écrit dans le message de news:
djlmcl$spf$1 (AT) forums (DOT) macromedia.com...
Quote:
Hi

Place this in your style sheet an play around.

#logocell img {padding: 20px; margin:0 220px 0;}

--
Cheers Pablo


http://www.dellwebsites.com

"Brian" <brian (AT) agilitygraphics (DOT) com> a écrit dans le message de news:
djlk8j$pol$1 (AT) forums (DOT) macromedia.com...
I am wondering if I can style an image. I created a space in which I would
like the image to be centered in or have certain amount of padding to. How
do I do that?

What I am talking about, can be viewed here:
http://www.agilitygraphics.com/clients/bdc/

I would like to certer the BDC in the grey space up top. The CSS is here,
just in case:
http://www.agilitygraphics.com/clients/bdc/css/browman.css


Thanks for any help!
Brian






Reply With Quote
  #4  
Old   
Pablo
 
Posts: n/a

Default Re: CSS question - image styling. - 10-25-2005 , 12:32 PM



No, I'm Brian;

--
Cheers Pablo


http://www.dellwebsites.com

"Brian" <brian (AT) agilitygraphics (DOT) com> a écrit dans le message de news:
djlmi2$stk$1 (AT) forums (DOT) macromedia.com...
Quote:
Yes?



Reply With Quote
  #5  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: CSS question - image styling. - 10-25-2005 , 02:08 PM



An even better way would be like this -

#logocell img {display:block; width:170px; margin:0 auto;} /*adjust
top/bottom margin as desired */


--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Pablo" <dcdscs (AT) sdvdsvs (DOT) com> wrote

Quote:
Hi

Place this in your style sheet an play around.

#logocell img {padding: 20px; margin:0 220px 0;}

--
Cheers Pablo


http://www.dellwebsites.com

"Brian" <brian (AT) agilitygraphics (DOT) com> a écrit dans le message de news:
djlk8j$pol$1 (AT) forums (DOT) macromedia.com...
I am wondering if I can style an image. I created a space in which I would
like the image to be centered in or have certain amount of padding to. How
do I do that?

What I am talking about, can be viewed here:
http://www.agilitygraphics.com/clients/bdc/

I would like to certer the BDC in the grey space up top. The CSS is here,
just in case:
http://www.agilitygraphics.com/clients/bdc/css/browman.css


Thanks for any help!
Brian






Reply With Quote
  #6  
Old   
Thierry | www.TJKDesign.com
 
Posts: n/a

Default Re: CSS question - image styling. - 10-25-2005 , 02:25 PM



Murray *TMM* wrote:
Quote:
An even better way would be like this -

#logocell img {display:block; width:170px; margin:0 auto;} /*adjust
top/bottom margin as desired */
And what about a simple:
#logocell {text-align:center}


--
Thierry | http://www.TJKDesign.com | CSS-P Templates + Articles:
CSS Popups, CSS 3 Column Layout, CSS Tabs, CSS Dropdown Menu,
TIP Method, Sliced Images, Clean Popup Windows, Easy Maintenance.....




Reply With Quote
  #7  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: CSS question - image styling. - 10-25-2005 , 02:35 PM



True enough....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Thierry | www.TJKDesign.com" <thierry (AT) 212utah (DOT) invalid> wrote

Quote:
Murray *TMM* wrote:
An even better way would be like this -

#logocell img {display:block; width:170px; margin:0 auto;} /*adjust
top/bottom margin as desired */

And what about a simple:
#logocell {text-align:center}


--
Thierry | http://www.TJKDesign.com | CSS-P Templates + Articles:
CSS Popups, CSS 3 Column Layout, CSS Tabs, CSS Dropdown Menu,
TIP Method, Sliced Images, Clean Popup Windows, Easy Maintenance.....





Reply With Quote
  #8  
Old   
Pablo
 
Posts: n/a

Default Re: CSS question - image styling. - 10-25-2005 , 06:03 PM



Why better?

--
Cheers Pablo


http://www.dellwebsites.com

"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> a écrit dans le message de
news: djlttp$a7t$1 (AT) forums (DOT) macromedia.com...
Quote:
True enough....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Thierry | www.TJKDesign.com" <thierry (AT) 212utah (DOT) invalid> wrote in message
news:djlt9v$9d6$1 (AT) forums (DOT) macromedia.com...
Murray *TMM* wrote:
An even better way would be like this -

#logocell img {display:block; width:170px; margin:0 auto;} /*adjust
top/bottom margin as desired */

And what about a simple:
#logocell {text-align:center}


--
Thierry | http://www.TJKDesign.com | CSS-P Templates + Articles:
CSS Popups, CSS 3 Column Layout, CSS Tabs, CSS Dropdown Menu,
TIP Method, Sliced Images, Clean Popup Windows, Easy Maintenance.....







Reply With Quote
  #9  
Old   
Pablo
 
Posts: n/a

Default Re: CSS question - image styling. - 10-25-2005 , 06:09 PM



Who is Brian anyway?

--
Cheers Pablo


http://www.dellwebsites.com

"Pablo" <dcdscs (AT) sdvdsvs (DOT) com> a écrit dans le message de news:
djma3v$qqp$1 (AT) forums (DOT) macromedia.com...
Quote:
Why better?

--
Cheers Pablo


http://www.dellwebsites.com

"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> a écrit dans le message
de news: djlttp$a7t$1 (AT) forums (DOT) macromedia.com...
True enough....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Thierry | www.TJKDesign.com" <thierry (AT) 212utah (DOT) invalid> wrote in message
news:djlt9v$9d6$1 (AT) forums (DOT) macromedia.com...
Murray *TMM* wrote:
An even better way would be like this -

#logocell img {display:block; width:170px; margin:0 auto;} /*adjust
top/bottom margin as desired */

And what about a simple:
#logocell {text-align:center}


--
Thierry | http://www.TJKDesign.com | CSS-P Templates + Articles:
CSS Popups, CSS 3 Column Layout, CSS Tabs, CSS Dropdown Menu,
TIP Method, Sliced Images, Clean Popup Windows, Easy Maintenance.....









Reply With Quote
  #10  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: CSS question - image styling. - 10-25-2005 , 06:18 PM



It centers always no matter how wide the container is. Yours doesn't.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Pablo" <dcdscs (AT) sdvdsvs (DOT) com> wrote

Quote:
Why better?

--
Cheers Pablo


http://www.dellwebsites.com

"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> a écrit dans le message
de news: djlttp$a7t$1 (AT) forums (DOT) macromedia.com...
True enough....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Thierry | www.TJKDesign.com" <thierry (AT) 212utah (DOT) invalid> wrote in message
news:djlt9v$9d6$1 (AT) forums (DOT) macromedia.com...
Murray *TMM* wrote:
An even better way would be like this -

#logocell img {display:block; width:170px; margin:0 auto;} /*adjust
top/bottom margin as desired */

And what about a simple:
#logocell {text-align:center}


--
Thierry | http://www.TJKDesign.com | CSS-P Templates + Articles:
CSS Popups, CSS 3 Column Layout, CSS Tabs, CSS Dropdown Menu,
TIP Method, Sliced Images, Clean Popup Windows, Easy Maintenance.....









Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.