[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.3

How are div ids closed from a different file

Asked by pbo1 in PHP Scripting Language, Cascading Style Sheets (CSS)

Tags: php css

I have a site that calls a php function called wp-blog-header.php (see below)..within wp-blog-header.php it list several CSS div ids.  Where do the div ids get closed ?  I am confused why the css would be listed in wp-blog-header.php rather than the other php files that are being called (start.php and header.php)

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
wp-blog-header.php
<?php include('templates/start.php'); ?>
 
<!-- container START -->
<div id="container">
 
<?php include('templates/header.php'); ?>
 
<!-- content START -->
<div id="content">
 
	<!-- main START -->
	<div id="main">
 
templates/start.php
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<?php
	$options = get_option('inove_options');
	if (is_home()) {
		$home_menu = 'current_page_item';
	} else {
		$home_menu = 'page_item';
	}
	if($options['feed'] && $options['feed_url']) {
		if (substr(strtoupper($options['feed_url']), 0, 7) == 'HTTP://') {
			$feed = $options['feed_url'];
		} else {
			$feed = 'http://' . $options['feed_url'];
		}
	} else {
		$feed = get_bloginfo('rss2_url');
	}
?>
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
 
	<?php
		if (is_home()) { 
			$description = $options['description'];
			$keywords = $options['keywords'];
		} else if (is_single()) {
			$description =  $post->post_title;
			$keywords = "";
			$tags = wp_get_post_tags($post->ID);
			foreach ($tags as $tag ) {
				$keywords = $keywords . $tag->name . ", ";
			}
		} else if (is_category()) {
			$description = category_description();
		}
	?>
	<meta name="keywords" content="<?php echo $keywords; ?>" />
	<meta name="description" content="<?php echo $description; ?>" />
 
	<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
	<link rel="alternate" type="application/rss+xml" title="<?php _e('RSS 2.0 - all posts', 'inove'); ?>" href="<?php echo $feed; ?>" />
	<link rel="alternate" type="application/rss+xml" title="<?php _e('RSS 2.0 - all comments', 'inove'); ?>" href="<?php bloginfo('comments_rss2_url'); ?>" />
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
 
	<!-- style START -->
	<!-- default style -->
	<style type="text/css" media="screen">@import url( <?php bloginfo('stylesheet_url'); ?> );</style>
	<!-- for translations -->
	<?php if (strtoupper(get_locale()) == 'ZH_CN' || strtoupper(get_locale()) == 'ZH_TW') : ?>
		<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/chinese.css" type="text/css" media="screen" />
	<?php elseif (strtoupper(get_locale()) == 'HE_IL' || strtoupper(get_locale()) == 'FA_IR') : ?>
		<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/rtl.css" type="text/css" media="screen" />
	<?php endif; ?>
	<!--[if IE 6]>
		<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/ie6.css" type="text/css" media="screen" />
	<![endif]-->
	<!-- style END -->
 
	<!-- script START -->
	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/util.js"></script>
	<?php if (strtoupper(get_locale()) == 'RTL' || strtoupper(get_locale()) == 'HE_IL' || strtoupper(get_locale()) == 'FA_IR') : ?>
		<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/jsrtl/menu.js"></script>
	<?php else : ?>
		<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/menu.js"></script>
	<?php endif; ?>
	<!-- script END -->
 
	<?php wp_head(); ?>
</head>
 
<?php flush(); ?>
 
<body>
<!-- wrap START -->
<div id="wrap">
 
templates/header.php
<!-- header START -->
<div id="header">
	<div id="caption">
		<h1 id="title"><a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a></h1>
		<div id="tagline"><?php bloginfo('description'); ?></div>
	</div>
 
	<!-- navigation START -->
	<div id="navigation">
		<ul id="menus">
			<li class="<?php echo($home_menu); ?>"><a class="home" title="<?php _e('Home', 'inove'); ?>" href="<?php echo get_settings('home'); ?>/"><?php _e('Home', 'inove'); ?></a></li>
			<?php
				if($options['menu_type'] == 'categories') {
					wp_list_categories('depth=2&title_li=0&orderby=name&show_count=0');
				} else {
					wp_list_pages('depth=2&title_li=0&sort_column=menu_order');
				}
			?>
			<li><a class="lastmenu" href="javascript:void(0);"></a></li>
		</ul>
 
		<!-- searchbox START -->
		<div id="searchbox">
			<?php if($options['google_cse'] && $options['google_cse_cx']) : ?>
				<form action="http://www.google.com/cse" method="get">
					<div class="content">
						<input type="text" class="textfield" name="q" size="24" />
						<input type="hidden" name="cx" value="<?php echo $options['google_cse_cx']; ?>" />
						<input type="hidden" name="ie" value="UTF-8" />
						<span class="switcher" ><?php _e('Switcher', 'inove'); ?></span>
					</div>
				</form>
			<?php else : ?>
				<form action="<?php bloginfo('home'); ?>" method="get">
					<div class="content">
						<input type="text" class="textfield" name="s" size="24" value="<?php echo wp_specialchars($s, 1); ?>" />
						<span class="switcher" ><?php _e('Switcher', 'inove'); ?></span>
					</div>
				</form>
			<?php endif; ?>
		</div>
		<!-- searchbox END -->
 
		<div class="fixed"></div>
	</div>
	<!-- navigation END -->
 
	<div class="fixed"></div>
</div>
<!-- header END -->
[+][-]03/01/09 08:30 PM, ID: 23771482Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: PHP Scripting Language, Cascading Style Sheets (CSS)
Tags: php css
Sign Up Now!
Solution Provided By: Unspoken1
Participating Experts: 1
Solution Grade: A
 
[+][-]03/01/09 08:35 PM, ID: 23771519Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/01/09 08:51 PM, ID: 23771577Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625