View Full Version : Show content in specific div tag

01-20-2009, 05:59 PM
Does anyone know how to show specific content into a div tag with out actually putting code into that div tag? For example you have a div tag called LEFT and one called RIGHT. What is the code to say a certain txt to show in either LEFT or RIGHT. the <div id="LEFT"> or RIGHT just gives it the CSS properties but doesn't put the content into that div tag.

Is this even possible?

01-21-2009, 12:17 AM
i dont understand what you want , can you try again?

01-21-2009, 12:21 AM
ok so I have Div id=Left and Div id =Right. I want to be able to change where content is displayed in either the left or right div tag. So without hard coding any information into the left or right div tag i want to put the content outside of the div tags and have the content sit in a floating div=either "Left" or "Right"

01-21-2009, 12:33 AM
im having a dumb day i guess.
you can have text using an include (php) it would depend on what criteria you use to which is selected but would need a conditional statement in the divs, cant see that this could be done using just css or html.