1
bethanyw
Re: XMT Help - how to remove border around centre block
  • 2007/10/30 1:44

  • bethanyw

  • Just popping in

  • Posts: 6

  • Since: 2007/10/24


If you go to the homepage of www.marketagenda.com, you will notice a white line on the left side of block 1 & the system_login block, and also a white line at the top of block 1, and block 2. These are all custom blocks in a custom theme. I can't find the source of the code that is creating these white lines. Also there is a white space on the bottom. I am really stumped...I am a newbie to Xoops.

Thanks,
Bethany



2
bethanyw
Re: XMT Help - how to remove border around centre block
  • 2007/10/30 0:29

  • bethanyw

  • Just popping in

  • Posts: 6

  • Since: 2007/10/24


Can anyone help me?

Thanks,
Bethany



3
bethanyw
Re: XMT Help - how to remove border around centre block
  • 2007/10/29 3:30

  • bethanyw

  • Just popping in

  • Posts: 6

  • Since: 2007/10/24


Thanks for your help. I removed the extra head tags. I was putting that html coding in each block, which resulted in the three tags, and extra CSS links. I installed firefox web developer toolbar. I will await further help. Also, a little more background. This site is using two themes. The homepage is using a custom theme I created, and the rest of the site uses a different custom theme that was created by someone else. They are both being used via themechanger.

Thanks,
Bethany



4
bethanyw
Re: XMT Help - how to remove border around centre block
  • 2007/10/28 21:27

  • bethanyw

  • Just popping in

  • Posts: 6

  • Since: 2007/10/24


I am also having this problem of a border showing around custom blocks, and have tried everything listed here. I am trying to create a custom theme. Fieldset is not listed in the code for theme_blockcenter_l, or theme_centerblock_c. I have tried adding the code fieldset as suggested in previous threads. Nothing is working and it's driving me crazy. The site is here: www.marketagenda.com There is also a space at the bottom that I can't get rid of.

Please help.

Thanks,
Bethany


Here is the CSS code I am using:

body {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
padding: 0px;
margin:0px


.login{
height: 272px;
width: 288px;
padding-left: 110px;
padding-top: 25px;
background-repeat:no-repeat;
background-image: url(http://www.marketagenda.com/themes/homepage/images/index_03.jpg);

}.login a:link {
color:#FFFFFF;

}.login a:visited {
color:#FFFFFF;

}
.login .header{
color: #FFFFFF;
padding: 12px 2px 0px 30px;
font-weight: normal;
text-align: left;
}
.login .body{
color: #FFFFFF;
padding: 3px 15px 0px 30px;
text-align: left;
}
}
.block1 {
background-image: url(images/index_01.jpg);
height: 393px;
width: 398px;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;

}
.block2 {
background-image: url(images/index_02.jpg);
height: 632px;
width: 626px;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;


}
.block3 {
background-image: url(images/index_03.jpg);
height: 272px;
width: 398px;

}
fieldset {
border: 0px solid #FFFFFF;
}



5
bethanyw
Re: Css and layout is not showing correctly in custom module
  • 2007/10/24 14:17

  • bethanyw

  • Just popping in

  • Posts: 6

  • Since: 2007/10/24


Hi Will,

Thanks for your replys. I removed the extra head tag. That didn't help the layout problems. Do you think installing Pico and putting the html in that module would help? It seems like the text is not wrapping properly. The footer is way down the page, as well as one other div tag with text in it. The container div tag is not centering as it should.

Thanks,
Bethany



6
bethanyw
Css and layout is not showing correctly in custom module
  • 2007/10/24 0:53

  • bethanyw

  • Just popping in

  • Posts: 6

  • Since: 2007/10/24


I am new to XOOPS and designed a new homepage for www.marketagenda.com with html and CSS. I am trying to implement it in XOOPS. I don't want to change the main styles.css, because the rest of the site needs to stay the same. I am only changing the homepage, so I created a new CSS file named index.css and put it in the same directory as styles.css

I inserted the html into the module, and when I preview it, some of the text is not where it is supposed to be. Can anyone tell me what the problem might be? I would really appreciate your help.

here is the html & CSS code for reference:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<link href="http:/www.marketagenda.com/themes/market/index.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
background-image: url(images/bluebackground.jpg);
background-repeat: repeat-x;
}
a:link {
color: #FFFFFF;
}
a:visited {
color: #FFFFFF;
}
.style2 {
font-family: Arial;
font-weight: bold;
font-size: 14px;
color: #009900;
}
.style3 {
font-family: Arial;
font-size: 11px;
}
.style5 {font-size: 11px}
.style10 {color: #0033CC}
.style11 {
font-size: 10px;
color: #009900;
font-family: Arial;
font-weight: bold;
}
-->
</style></head>

<body>
&nbsp;
<div class="container" id="container">
<div class="login" id="login">Registered Users Login: <br>
<!-- saved from url=(0022)http://internet.e-mail -->
<br>
<form style="margin-top: 0px;" action="<{$xoops_url}>/user.php" method="post">
<span style="font-size: 9px">
<input name="uname" type="text" class="inputBox" style='width:130px' onFocus='if(this.value == "Username: ") this.value=""' value="Username" size="12" maxlength="25"/>
<br>
</span>
<input name="pass" type="password" class="inputBox" style='width:130px' onFocus='if(this.value == "Password: ") this.value=""' value="password" size="12" maxlength="32" />
<br/>
<br>
<a href="<{$xoops_url}>/user.php"><img src="images/login_button.jpg" width="37" height="17" border="0"></a>&nbsp;
<input type="checkbox" name="rememberme" value="On" class ="formButton" />
Remember me&nbsp;&nbsp; <a href="<{$xoops_url}>/user.php"></a><br>
<input type="hidden" name="xoops_redirect" value="<{$xoops_requesturi}>" />
<input type="hidden" name="op" value="login" />
<br>
<a href="http://www.marketagenda.com/user.php#lost">Lost Password?</a><br>
<a href="https://www.marketagenda.com/register_ep.php">Event Planners Register Here</a><br>
<br>
<a href="https://www.marketagenda.com/register_ep.php"></a>
</form>
</div>
<div class="center" id="center"><br>
<br>
<br>
<br>
<br>
<span class="style2"><br>
Wall Street’s FREE comprehensive<br>
source for financial event information:</span><br>
<br>
<div class="bullettext style5" id="bullettext"><img src="images/greenbullet.jpg" width="8" height="8">&nbsp; Road Shows<br>
<img src="images/greenbullet.jpg" width="8" height="8">&nbsp; Conference Calls<br>
<img src="images/greenbullet.jpg" width="8" height="8">&nbsp; Conference & Tradeshow Schedules<br>
<img src="images/greenbullet.jpg" width="8" height="8">&nbsp; Conference Calls & Webcasts<br>
<img src="images/greenbullet.jpg" width="8" height="8">&nbsp; CEO & Analyst Interviews<br>
<img src="images/greenbullet.jpg" width="8" height="8">&nbsp; Analyst Meetings<br>
<img src="images/greenbullet.jpg" width="8" height="8">&nbsp; Research Reports<br>
<img src="images/greenbullet.jpg" width="8" height="8">&nbsp; Breaking News<br>
<img src="images/greenbullet.jpg" width="8" height="8">&nbsp; Investment Tools</div>
<br>
<br>
<br>
<span class="style2"> How does marketAgenda work?<br>
<br>
</span>1. Event planners enter data on upcoming
financial<br>
events for public companies including:
road shows, tradeshows, conferences, webcasts,
conference<br>
calls, CEO interviews, IPOS, filings,
earnings releases,<br>
analyst meetings, stock splits,
and stock dividends.
<p>2. Our system matches events to your investment<br>
preferences and sends a custom e-mail newsletter<br>
to you. <br>
<br>
3. You click on events in the newsletter to find out<br>
more details. You can also search
our
event database<br>
by industry, location, market
cap or security type.</p>
<br>
<span class="style3"><br>
</span></div>
<div class="rightcolumn" id="rightcolumn">Find out when<br>
companies are <br>
having financial <br>
events in your<br>
area with our<br>
web calendar,<br>
which provides<br>
financial event <br>
data matched to <br>
your preferences.</div>
<div class="calendartext" id="calendartext"><span class="style10"><a href="https://www.marketagenda.com/register_ep.php">Click here</a></span> to view our<br>
<span class="style11">WEB CALENDAR</span></div>
<div class="footer" id="footer">Bookstore | Recommend Us | Partners | Advertise | Contact Us | Privacy | Terms of Use</div>
</div>
</body>
</html>


Here is the CSS code:

#container {
text-align: center;
height: 600px;
width: 800px;
background-image: url(Images/index_background.jpg);
padding: auto;
background-repeat: no-repeat;
margin: auto;
}
#login {
width: 257px;
float: left;
height: 160px;
padding-top: 400px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 25px;
font-family: Arial;
font-size: 11px;
color: #FFFFFF;
text-align: left;
}
#center {
float: left;
width: 280px;
height: 556px;
text-align: left;
padding-left: 30px;
font-family: Arial;
font-size: 11px;
padding-top: 7px;
}
#bullettext {
padding-left: 15px;
font-family: Arial;
font-size: 11px;
line-height: normal;
}
#rightcolumn {
float: left;
height: 140px;
padding-top: 405px;
font-family: Arial;
font-size: 11px;
text-align: left;
padding-left: 8px;
}
#calendartext {
float: left;
padding-top: 500px;
font-family: Arial;
font-size: 10px;
clear: right;
}

#calendartext a:link {
color: #3366cc;
text-decoration: underline;
}

#calendartext a:hover {
color: #009900;
text-decoration: underline;
}
#footer {
height: 20px;
float: left;
width: 488px;
font-family: Arial;
font-size: 11px;
text-align: left;
padding-left: 312px;
padding-top: 5px;
clear: both;
}




TopTop



Login

Who's Online

289 user(s) are online (178 user(s) are browsing Support Forums)


Members: 0


Guests: 289


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits