I know I can move a element in a div for example a paragraph by putting:
Code:
div.main p {
margin-left: 215px;
}
In a css file an referencing the css within the html file! However, how would I do this say with a selection of elements like headers?
I tried:
Code:
div.main h {
margin-left: 215px;
}
But that didn't work because of the number of the particular header say "3" wasn't being referred to.
TIA
Nightwalker
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672
By using hashes you can create many different styles for the same inner html by use of id="", whilst still calling classes as you have already created them.
I hope this is what you wanted but if not my apologies for any time wasted.
It would apply the changes to the element regardless of what size/number the element was. Is this possible?
Thanks
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672
The <p></p> tags don't work surrounding an object <object></object>.
Last edited by Nightwalker83; Dec 17th, 2008 at 12:54 AM.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672
Thanks, do you know the fire fox equivalent of that code? The code you just posted doesn't in FF.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672
I have tested that code in 5 different browsers on 2 different computers and it works!
However, I can't understand why it's not working correctly? The object is suppose to move positions according to specifications in the css file. Unfortunately it does not and I can't figure out why.
The way I've found is by using a lot of to push the object in to place like so:
Code:
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','320','height','75','tabindex','14','title','Alpha','movie','alpha','quality','high'); //end AC code
</script>
Last edited by Nightwalker83; Dec 19th, 2008 at 04:58 AM.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672
I have just used the code in post #5 then wrapped it in a div class = "flash".
That is the only other method (I know) of moving the object besides the above post's method.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672
I found out something about the current code I am using the <noscript></noscript> tags can only be place around an <object></object> and not the <script><script>. However, the opposite is true with the div class.
Last edited by Nightwalker83; Dec 19th, 2008 at 09:22 PM.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672
Is there a way I can use the "class" code within a script tag? If not is there another way to achieve the same effect without have to use tons of to move the object in to place?
Edit:
I just wrapped the script in div tags like I did before.
Still haven't figured out I better way of doing the above when the script tags are involved.
Last edited by Nightwalker83; Jan 16th, 2009 at 07:21 PM.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672