Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to accommodate two boxes in CSS
    primarykey
    data
    text
    <p>first, im very new to CSS, trying to learn it and understand it. I have blown my brains out trying to figure out how to get the little selected box with the feeds, facebook and twitter icons to the top, where it should go, just beside the school logo. Can you please help me put the selected box a little bit more up? Thanks. Please check the link, image inside, stack won't let me upload pictures.</p> <p><a href="http://cl.ly/3cyt" rel="nofollow">http://cl.ly/3cyt</a></p> <p>Here is the code.</p> <pre><code>#header #inner { float: left; width: 960px; clear: both; } #header #logo { height: 99px; clear: both; width: 730px; float: left; } #header #inner #logo #pandecta-logo { float: left; } #header #inner #logo #eld-logo { float: right; } #header #inner #logo a { position: relative; top: -22px; #header #inner #right { width: 200px; float: right; } </code></pre> <p>"#right" is the twitter,facebook,feeds box.</p> <p>Here its the HTML</p> <pre><code> &lt;div id="inner"&gt; &lt;!-- Logo --&gt; &lt;div id="logo"&gt; &lt;a href="&lt;?php echo get_option('home'); ?&gt;/"&gt; &lt;?php if (strlen($wpzoom_misc_logo_path) &gt; 1) { ?&gt; &lt;div id="pandecta-logo"&gt; &lt;img src="&lt;?php echo "$wpzoom_misc_logo_path";?&gt;" alt="&lt;?php bloginfo('name'); ?&gt;" /&gt; &lt;/div&gt; &lt;?php } else { ?&gt;&lt;img src="&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/logo.png" alt="&lt;?php bloginfo('name'); ?&gt;" /&gt;&lt;?php } ?&gt; &lt;div id=eld-logo&gt; &lt;img src="&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/eld.png" alt="Logo Escuela Libre de Derecho" /&gt; &lt;/div&gt; &lt;/a&gt; &lt;/div&gt; &lt;div id="head_banner"&gt; &lt;?php if (strlen($wpzoom_ad_head_imgpath) &gt; 1 &amp;&amp; $wpzoom_ad_head_select == 'Yes') {?&gt; &lt;?php if (strlen($wpzoom_ad_head_imgpath) &gt; 1) { echo stripslashes($wpzoom_ad_head_imgpath); }?&gt; &lt;?php } ?&gt; &lt;/div&gt; &lt;div id="right"&gt; &lt;div id="social"&gt; &lt;ul&gt; &lt;?php if (strlen($wpzoom_twitter) &gt; 0) { ?&gt;&lt;li class="button"&gt;&lt;a href="http://twitter.com/&lt;?php echo $wpzoom_twitter; ?&gt;" title="&lt;?php echo"$wpzoom_twitter_heading"; ?&gt;"&gt;&lt;img src="&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/icons/twitter.png" alt="Twitter" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;?php } ?&gt; &lt;?php if (strlen($wpzoom_facebook) &gt; 0) { ?&gt;&lt;li class="button"&gt;&lt;a href="&lt;?php echo $wpzoom_facebook; ?&gt;" title="&lt;?php echo"$wpzoom_facebook_heading"; ?&gt;"&gt;&lt;img src="&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/icons/facebook.png" alt="Facebook" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;?php } ?&gt; &lt;?php if (strlen($wpzoom_rssicon) &gt; 0) { ?&gt;&lt;li class="button"&gt;&lt;a href="&lt;?php echo $wpzoom_rssicon; ?&gt;" title="&lt;?php echo"$wpzoom_rssicon_heading"; ?&gt;"&gt;&lt;img src="&lt;?php bloginfo('stylesheet_directory'); ?&gt;/images/icons/rss.png" alt="RSS" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;?php } ?&gt; &lt;/ul&gt; &lt;/div&gt; </code></pre> <p>Thanks</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload