Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-27-2012, 08:52 PM   PM User | #1
ChrisTrader
New Coder

 
Join Date: Apr 2012
Posts: 34
Thanks: 11
Thanked 0 Times in 0 Posts
ChrisTrader is an unknown quantity at this point
Can't figure out how to float div in 3rd column

Hello
I'm trying to get my "afterLinksThird" div to float on the 3rd column. Can someone checkout my structure and see if I'm missing something. The link is http://eminiroom.com/index.php/emini...e-records.html

Thanks,
Chris
ChrisTrader is offline   Reply With Quote
Old 04-27-2012, 09:08 PM   PM User | #2
Xherdas
New Coder

 
Join Date: Apr 2012
Posts: 44
Thanks: 0
Thanked 14 Times in 14 Posts
Xherdas is an unknown quantity at this point
Your 3 div's "afterLinks" are inside that <div class="resultsWrap"></div>

.resultsWrap has a specified width of 510px.
You don't have enough room to insert your 3 columns.

Make it wider
Code:
.resultsWrap {
width: 700px;
clear: both;
}
Good luck!
Xherdas is offline   Reply With Quote
Users who have thanked Xherdas for this post:
ChrisTrader (05-08-2012)
Old 04-27-2012, 09:11 PM   PM User | #3
ChrisTrader
New Coder

 
Join Date: Apr 2012
Posts: 34
Thanks: 11
Thanked 0 Times in 0 Posts
ChrisTrader is an unknown quantity at this point
Thanks so much for the quick reply! I have another question not related , but having to do with divs. Should I post here or create another thread?

Thanks Again!,
Chris
ChrisTrader is offline   Reply With Quote
Old 04-27-2012, 09:16 PM   PM User | #4
Xherdas
New Coder

 
Join Date: Apr 2012
Posts: 44
Thanks: 0
Thanked 14 Times in 14 Posts
Xherdas is an unknown quantity at this point
Post it here, I will help you if I can.
Xherdas is offline   Reply With Quote
Users who have thanked Xherdas for this post:
ChrisTrader (05-08-2012)
Old 04-27-2012, 09:21 PM   PM User | #5
ChrisTrader
New Coder

 
Join Date: Apr 2012
Posts: 34
Thanks: 11
Thanked 0 Times in 0 Posts
ChrisTrader is an unknown quantity at this point
Okay thanks.

On my main page www.eminiroom.com I am looking to change the text "Emini Room Hours" "8:45-..." and " *Live..." to actual text instead of included in the image. I wanted to know if there was a way to do this. I'm using joomla for the site and I'm not entirely sure on how to edit the framework of the base template. I am familiar with CSS and html but cant figure out which file to edit. If you or anyone else knows how to do this I would appreciate it.
edit: This is on the main upper banner at the top of the page. That is where I would like to insert the div.
Thanks again!,
Chris

Last edited by ChrisTrader; 04-27-2012 at 09:22 PM.. Reason: forgot to mention area
ChrisTrader is offline   Reply With Quote
Old 04-27-2012, 09:24 PM   PM User | #6
ChrisTrader
New Coder

 
Join Date: Apr 2012
Posts: 34
Thanks: 11
Thanked 0 Times in 0 Posts
ChrisTrader is an unknown quantity at this point
I want for it to of course be in the same positioning that it is in right now.
ChrisTrader is offline   Reply With Quote
Old 04-27-2012, 09:31 PM   PM User | #7
Xherdas
New Coder

 
Join Date: Apr 2012
Posts: 44
Thanks: 0
Thanked 14 Times in 14 Posts
Xherdas is an unknown quantity at this point
Find your <div id="header"> and add the code in bold.
Code:
<div id="header">

      <div class="topmenu">
        
      </div>

              <a href="/">
        <img alt="Stocks and E-mini Futures Trading" src="/templates/jmint-cleaned/images/logo.png" border="0" class="logo">
        </a>
      <div style="float:right; padding:15px;text-align:center;margin:50px 15px 0 0;">
<p>Emini Room Hours<br>
8:45AM - 2:50PM<br>
*Live Trade Calls</p>
</div>
      <div class="slogan">
              </div>

          </div>
You might want to replace the inline-style by a class...
Code:
#header .announce{
float:right;
text-align:center;
padding:15px;
margin:50px 15px 0 0;
}
After you need to edit your image banner.png, and erase the informations.

Last edited by Xherdas; 04-27-2012 at 09:34 PM..
Xherdas is offline   Reply With Quote
Users who have thanked Xherdas for this post:
ChrisTrader (05-08-2012)
Old 04-29-2012, 05:50 AM   PM User | #8
ChrisTrader
New Coder

 
Join Date: Apr 2012
Posts: 34
Thanks: 11
Thanked 0 Times in 0 Posts
ChrisTrader is an unknown quantity at this point
I'm not sure how to find this. Its a template. I believe the main page is PHP as it is joomla. This is the code I'm seeing. A bit different:
PHP Code:
<div id="header">

      <div class="topmenu">
        <jdoc:include type="modules" name="position-1" style="none" />
      </div>

      <?php if ($this->countModules('logo')) : ?>
        <div class="logo">
          <jdoc:include type="modules" name="logo" style="none" />
        </div>
      <?php else : ?>
        <a href="<?php echo $this->baseurl ?>/">
        <img alt='Stocks and E-mini Futures Trading' src="<?php echo $this->baseurl?>/templates/<?php echo $this->template?>/images/logo.png" border="0" class="logo">
        </a>
      <?php endif; ?>

      <div class="slogan">
        <?php if ($this->params->get'slogandisable' )) : ?><?php echo ($slogan); ?>
        <?php endif; ?>
      </div>

      <?php if ($this->countModules('top')) : ?>
        <div class="top">
          <jdoc:include type="modules" name="top" style="none"/>
        </div>
      <?php endif; ?>
    </div> <!-- close header -->
ChrisTrader is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:28 AM.


Advertisement
Log in to turn off these ads.