Post by Irishman on Jan 5, 2010 14:26:58 GMT -8
I've to design a website for one of my college projects using CSS..
Because I'm next to useless at CSS and coding in general I'm using Fireworks (cs4) (was taught how to code through it) and Dreamweaver...
I've sliced everything up in FW and exported as CSS and it opens up fine in DW (again CS4)..... it all looks nice and its done ethrough CSS so its better marks than exporting in HTML.
The problem is I've to embed a video file .flv.
I have a specific place for the video- (123px down from top, 255px in form left). So using DW I insert the video fine but it always sticks to the top left corner and it won't move (in DWcs3, the one they had it college, it allowed me to click and drag the video to where I wanted it on the page and the code adjusted accordingly).
I think my problem is that because I exported the CSS from FW it won't allow me to put in a video unless I set up an id for it in the css style sheet. But I have a clue how to do that for CSS (I really apologise for experienced coders, I don't mean to insult anyones intelligence)
Heres what I tried recently:
#Project-TwoVF_vidsEimearV2_r3_c3 {
position: absolute;
left:255px;
top:123px;
width:480px;
height:280px;
margin-bottom:0px;
}/* thats the id for where I want the video, an image is exported there.*/
HTML:
<img src="images/Project-TwoVF_vidsEimearV2_r3_c3.jpg" id="Project-TwoVF_vidsEimearV2_r3_c3" alt="" />
thats where the exported jpg from FW is, I changed the src to video. (didn't think it'd work cos its an img tag) but it appears perfectly where I wanted it to. Is there a code to put in the CSS id to allow the video play? Or do I simlply have to set up an ID for a video to play in that place?
Again I apologise, this comes from 3days with screw all sleep and intense google searches..
Because I'm next to useless at CSS and coding in general I'm using Fireworks (cs4) (was taught how to code through it) and Dreamweaver...
I've sliced everything up in FW and exported as CSS and it opens up fine in DW (again CS4)..... it all looks nice and its done ethrough CSS so its better marks than exporting in HTML.
The problem is I've to embed a video file .flv.
I have a specific place for the video- (123px down from top, 255px in form left). So using DW I insert the video fine but it always sticks to the top left corner and it won't move (in DWcs3, the one they had it college, it allowed me to click and drag the video to where I wanted it on the page and the code adjusted accordingly).
I think my problem is that because I exported the CSS from FW it won't allow me to put in a video unless I set up an id for it in the css style sheet. But I have a clue how to do that for CSS (I really apologise for experienced coders, I don't mean to insult anyones intelligence)
Heres what I tried recently:
#Project-TwoVF_vidsEimearV2_r3_c3 {
position: absolute;
left:255px;
top:123px;
width:480px;
height:280px;
margin-bottom:0px;
}/* thats the id for where I want the video, an image is exported there.*/
HTML:
<img src="images/Project-TwoVF_vidsEimearV2_r3_c3.jpg" id="Project-TwoVF_vidsEimearV2_r3_c3" alt="" />
thats where the exported jpg from FW is, I changed the src to video. (didn't think it'd work cos its an img tag) but it appears perfectly where I wanted it to. Is there a code to put in the CSS id to allow the video play? Or do I simlply have to set up an ID for a video to play in that place?
Again I apologise, this comes from 3days with screw all sleep and intense google searches..