MyBB Community Forums

Full Version: A little style and html help.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok guys I recently installed a hand made rss feed reader to display my latest video releases on my site you can view that here.


http://thewritinghaven.com/misc.php?page=Homepage I made it in the page manager mod using hand done html and css. That being said it looks like crap but works perfectly.

If you are looking at it select haven releases to see how its supposed to work.

What I would like to know is if there is a way to have it inherit the theme from the forum. Or if someone would feel like helping me make a few small modifications.

Like adding a divider between each individual posting and maybe making it easier to read things that are just plain text topics.

this is the code

<div style="height:500px;width:900px;overflow-x: hidden;background-image:url('http://i144.photobucket.com/albums/r186/belgorion/Void_by_PixelTribe.jpg');">
<b>Select the section you would like to view.</b>
<html>
<head>
<script type="text/javascript">
function showRSS(str)
{
if (str.length==0)
  { 
  document.getElementById("rssOutput").innerHTML="";
  return;
  }
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
    document.getElementById("rssOutput").innerHTML=xmlhttp.responseText;
    }
  }
xmlhttp.open("GET","getrss.php?q="+str,true);
xmlhttp.send();
}
</script>
</head>
<body>

<form>
<select onchange="showRSS(this.value)">
<option value="">Select Section:</option>
<option value="Haven Releases">Haven Releases</option>
<option value="MSNBC">MSNBC News</option>
</select>
</form>
<br />
<div id="rssOutput"></div>
</body>
</html>
</div>
<p style="font-size:10px;">
By divider you mean a column like lines? If so, it can be achieved with <tr> and <td> .
if you look at what i set up there is no divider between the different posts thats what im trying to accomplish if you wanna have a look i can get you the php file too instead of just the main html.
Like what kind of divider you need? A screenshot maybe helpful, if its something in posts you could use <hr> variable which would do something like:



^above divider/separator line.