Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 09:25 pm EST
Geeklog Forums
Is there a quick way to make the site smaller on the screen/page
Sentinel
Is there a quick way, like in config.php or in the theme I am using, to make the site fit better on the screen. It causing problems because of user specific resolution settings.
ironmax
I'm a newbie so please make any suggestions as easy to understand as possible. Many thanks in advance.
Is there a quick way, like in config.php or in the theme I am using, to make the site fit better on the screen. It causing problems because of user specific resolution settings.
Again, you need to provide a link to your site, so others can help with ideas.
tokyoahead
In CSS that would be:
body {
width:800px;
}
How this will look like depends heavily on your theme though. You might be better off with max-width:800px; instead.
Sentinel
TD {
color: #333333;
font-size: 12px;
font-family: verdana, verdana, , helvetica, verdana, sans-serif;
}
It doesn't designate anything for width...? I didn't see anything for max-width either.
Thanks for responding to my post, any other ideas would be great.
My site is dadesentinel.com
Thanks guys!
DTrumbower
Actually your body tag in the css file looks like this.
color: #000000;
font-size: 12px;
font-family: verdana, verdana, , helvetica, verdana, sans-serif;
top-margin : 20px;
bottom-margin : 0px;
left-margin : 0px;
right-margin : 0px;
scrollbar-face-color:#4facff;
scrollbar-arrow-color:#676767;
scrollbar-track-color:#676767;
scrollbar-shadow-color:#000000;
scrollbar-highlight-color:#a09f9a;
scrollbar-3dlight-color:#a09f9a;
scrollbar-darkshadow-color:#a09f9a;
list-style-image: url(images/bullet4.gif);
}
Sentinel
Thanks
Sentinel
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>{page_title}</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META NAME="ROBOTS" CONTENT="INDEX,FOLLOW">
<link rel="stylesheet" type="text/css" href="{css_url}" title="{theme}">
</HEAD>
<BODY text=#000000 vLink=#363636 aLink=#d5ae83 link=#363636 bgColor=#3d7499
topmargin=0 leftmargin=0>
{feed_url}
{plg_headercode}
{advanced_editor}
<!-- Needed Javascript Code -->
<script type="text/javascript">
function TBone()
{
window.open('/travis/cam.htm','TBone','width=320,height=240,menubar=no,scrollbars=no,toolbar=no,location=no,directories=no,resizable=no,top=300,left=300';
}
function Humpy()
{
window.open('/~brian/cam.htm','Humpy','width=320,height=240,menubar=no,scrollbars=no,toolbar=no,location=no,directories=no,resizable=no,top=300,left=300';
}
function Quink()
{
window.open('/quinn.htm','Humpy','width=320,height=240,menubar=no,scrollbars=no,toolbar=no,location=no,directories=no,resizable=no,top=300,left=300';
}
var cleared = 0;
function clearField(field)
{
if (cleared != 1) {
field.value = ""
cleared = 1
} else {
cleared = 0
}
}
</script>
<TABLE cellSpacing=0 cellPadding=0 width="90%" align=center bgColor=#eeeeee
border=0>
<TBODY>
<tr>
<TD align=center width="90%" height=20 bgcolor=#dddddd
background=/layout/LCD/images/backscan-body.jpg> <B><A
class="blocktitle2"
href="{site_url}">Home</A> <img src=/layout/LCD/images/bullet4.gif> <A class="blocktitle2"
href="{site_url}/submit.php?type=story">Submit news</A> <img
src=/layout/LCD/images/bullet4.gif> <A class=blocktitle2
href="{site_url}/calendar.php">Calendar</A> <img
src=/layout/LCD/images/bullet4.gif> <A class=blocktitle2
href="{site_url}/search.php">Advanced Search</A> <img
src=/layout/LCD/images/bullet4.gif> <A class=blocktitle2
href="{site_url}/stats.php"></A><br /> </B></TD></tr>
</TBODY></TABLE>
<table align="center" border="0" cellspacing="3" cellpadding="0" width="90%"
bgcolor="#dddddd"><p>
<tr>
{left_blocks}<p>
<td width="100%" valign="top" bgcolor=#dddddd>
<p><center><a href="{site_url}"><img src=/layout/LCD/images/masthead_2.gif alt="Spacequad AntiSpam Services"></a></center><br /> <!-- START OF CONTENT AREA -->
DTrumbower
<HTML><HEAD><TITLE>{page_title}</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META NAME="ROBOTS" CONTENT="INDEX,FOLLOW">
<link rel="stylesheet" type="text/css" href="{css_url}" title="{theme}">
</HEAD>
<BODY text=#000000 vLink=#363636 aLink=#d5ae83 link=#363636 bgColor=#3d7499
topmargin=0 leftmargin=0>
{feed_url}
{plg_headercode}
{advanced_editor}
<!-- Needed Javascript Code -->
<script type="text/javascript">
function TBone()
{
window.open('/travis/cam.htm','TBone','width=320,height=240,menubar=no,scrollbars=no,toolbar=no,location=no,directories=no,resizable=no,top=300,left=300'Wink;
}
function Humpy()
{
window.open('/~brian/cam.htm','Humpy','width=320,height=240,menubar=no,scrollbars=no,toolbar=no,location=no,directories=no,resizable=no,top=300,left=300'Wink;
}
function Quink()
{
window.open('/quinn.htm','Humpy','width=320,height=240,menubar=no,scrollbars=no,toolbar=no,location=no,directories=no,resizable=no,top=300,left=300'Wink;
}
var cleared = 0;
function clearField(field)
{
if (cleared != 1) {
field.value = ""
cleared = 1
} else {
cleared = 0
}
}
</script>
<TABLE cellSpacing=0 cellPadding=0 width="90%" align=center bgColor=#eeeeee
border=0>
<TBODY>
<tr><td><center><a href="{site_url}"><img src=/layout/LCD/images/masthead_2.gif alt="Spacequad AntiSpam Services"></a></center><br /></td></tr>
<tr>
<TD align=center width="90%" height=20 bgcolor=#dddddd
background=/layout/LCD/images/backscan-body.jpg> <B><A
class="blocktitle2"
href="{site_url}">Home</A> <img src=/layout/LCD/images/bullet4.gif> <A class="blocktitle2"
href="{site_url}/submit.php?type=story">Submit news</A> <img
src=/layout/LCD/images/bullet4.gif> <A class=blocktitle2
href="{site_url}/calendar.php">Calendar</A> <img
src=/layout/LCD/images/bullet4.gif> <A class=blocktitle2
href="{site_url}/search.php">Advanced Search</A> <img
src=/layout/LCD/images/bullet4.gif> <A class=blocktitle2
href="{site_url}/stats.php"></A><br /></B></TD></tr>
</TBODY></TABLE>
<table align="center" border="0" cellspacing="3" cellpadding="0" width="90%"
bgcolor="#dddddd"><p>
<tr>
{left_blocks}<p>
<td width="100%" valign="top" bgcolor=#dddddd>
<!-- START OF CONTENT AREA -->
May I also suggest you look at these themes.
ironmax
This is header.thtml....IS the part at the bottom referring to the masthead_2.gif being used? Do I need to move it?
<center><a href="{site_url}"><img src=/layout/LCD/images/masthead_2.gif alt="Spacequad AntiSpam Services"></a></center><br />
If you change the above line to
<center><img border="0" <a href="{site_url}"><img src=/layout/LCD/images/masthead_2.gif width="50%" height="97" alt="The Dade Sentinel - Dade Countys Homepage!"></center>
You should be fine. Your image is 750 px wide normally, so that is the problem. The added change will allow to shrink the image automatically. Just replace the line I made changes to. Lets see how that looks and works for you.
Michael
Sentinel
Thanks for all your help!
ironmax
That did the trick, Michael. The masthead resizes now. Thanks a lot! Only problem is there is a broken pic right next to the masthead that wasn't there before. I just want to get rid of it, I'm not even sure what it is. Do you know what it is?
Thanks for all your help!
In the line below you need to remove the <img border="0"
<p><center><img border="0" <a href="http://dadesentinel.com"><img src=/layout/LCD/images/masthead_2.gif width="90%" height="90%" alt="The Dade Sentinel - Dade Countys Homepage!"></center>
So that it looks like this
<p><center><a href="http://dadesentinel.com"><img src=/layout/LCD/images/masthead_2.gif width="90%" height="90%" alt="The Dade Sentinel - Dade Countys Homepage!"></center>
See if that changes it
Michael
ironmax
Argghhh----new problem---just noticed this morning that the masthead only shows up in the firefox browser I use on my laptop. It's not showing up in the safari browser I use at work, or on IE browsers.
That extra img tag and border tag should not be there...thats most likely whats messin things up.
Okay...just follow my last post and remove that <img border="0"
And you should be fine, if not, then let me know.
Michael
ironmax
Michael
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content