I want to reposition just the text and the icon that is within the <object> tag
on the page so to do that I assume
one would do as follows:
{#videogallery object a}??
On Sun, Mar 29, 2009 at 1:34 PM "Jukka K. Korpela" <[email protected]> wrote:
>Christopher R wrote:
>
> > I'm trying to stylize the text which is an <a> tag within the id
> > <videogallery>
> > as seen on this page
> > http://www.thecreativesheep.ca/site/animationpage2.html
> > so that I can move the text here but all that seems to be moving is
> > the flash icon here is my style that I have currently:
>
> Regarding your Subject line, the answer is that HTML or XML syntax allows no
> tags within a tag.
>
> >From the content, it seems that you mean styling an element within another
> element, which is a pretty common and abstract issue. Actually, all the
> elements we style are almost all within other elements, since it is rare to
> style the root element (<html>) in HTML.
>
> Regarding your question, it would be much more understandable if formulated
> as English sentences, with proper punctuation.
>
> Most importantly, it seems to be impossible to see what you are trying to
> achieve. You refer to moving the text, apparently within an <a> element that
> resides inside a <div> element with id="videogallery". There is indeed such
> an element, but it appears inside an <object> element that appears inside an
> <object> element inside the <div> element. By HTML specifications, the <a>
> element should be rendered if and only if both inclusions, as specified by
> <object> markup, have failed. Are you really referring to such a situation?
> How did you test it?
>
> _Should_ CSS rules affect the rendering of elements that should not be
> rendered according to HTML specs? Beats me. If I wanted to know how browsers
> behave in such issues, I would construct the most basic test document and
> test in on a few browsers first.
>
> > #videogallery a {
> > position: relative;
> > bottom: -200px;
> > left: 65px;
> > }
> >
> > All that moves is the Icon not the text.
>
> I don't follow this either. The markup is
>
> <a href="http://www.adobe.com/go/getflashplayer">
> <img
> src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
>
> alt="Get Adobe Flash player" /></a>You are seeing this because you don't
> have Adobe Flash plugin installed for your Browser and therefore you are
> unable to view the animation gallery
>
> so the contents of the <a> element is just the <img> element (and some
> whitespace). The text is after the <a> element.
>
> --
> Yucca, http://www.cs.tut.fi/~jkorpela/
>
> ______________________________________________________________________
> css-discuss [[email protected]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/