How to add padding around a inserted flash movie?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

How to add padding around a inserted flash movie?

Post by duplay »

I have inserted a flash slideshow into my home page and would like to know how to add padding to the text that is next to it (I want to have more of a space with the text to the right, the it isnt right next to the movie. (see pic) Below is code:

SPARCC is one of 23 Information Technology Centers in the Ohio Educational Computer Network providing services to schools in their respective geographic areas.
SPARCC provides support for technology to school districts in Stark, Portage, and Carroll Counties in Northeast Ohio. We also serve the Stark County Educational Service Center, Portage County Educational Service Center and multiple independent school districts.
SPARCC's mission is to provide high quality support for the selection, aquisition, installation, maintenance and integration of technology into the learning community.
News

{cms_module module="news"}


[attachment deleted by admin]
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How to add padding around a inserted flash movie?

Post by Dr.CSS »

link to page...
User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

Re: How to add padding around a inserted flash movie?

Post by duplay »

User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How to add padding around a inserted flash movie?

Post by Dr.CSS »

it looks as tho you inserted this thru the edit pages it has the tags around it and all the text in that page could use more padding...

.text_area p {padding: ??px}

when you put the flash in and it asks you for align you should see if you can change that, it's what is causing the 'hug'
and your metadata has warnings...

line 13 column 1 - Warning: element not empty or not closed
line 13 column 73 - Warning: element not empty or not closed
line 14 column 1 - Warning: element not empty or not closed
line 15 column 1 - Warning: element not empty or not closed
line 16 column 1 - Warning: element not empty or not closed
line 17 column 1 - Warning: element not empty or not closed
line 64 column 1 - Warning: is not approved by W3C
line 148 column 28 - Warning: is not approved by W3C
line 209 column 1 - Warning: discarding unexpected
line 113 column 6 - Warning: escaping malformed URI reference
line 203 column 4 - Warning: trimming empty

0 errors / 11 warnings
User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

Re: How to add padding around a inserted flash movie?

Post by duplay »

Mark,

I did add it form the edit pages (source code) becuase i just want it on the one page. The align was not a option when i inserted the flash, so i inserted a picture and copies the align code over so the text would start at the top of the flash.

When I adjust the text_area padding, it just does the padding from the outside, nothing to do with the space between the flash and the picture, any other thoughts. A table perhaps?
User avatar
duplay
Power Poster
Power Poster
Posts: 289
Joined: Tue Mar 14, 2006 1:57 pm

Re: How to add padding around a inserted flash movie?

Post by duplay »

Mark,

Quickfix! I just extended the width of my flas movie with a white background out to the right, and the text lined up with that. Thanks for the help though.
Post Reply

Return to “Layout and Design (CSS & HTML)”