What is the difference between div class and div id
I have managed to achieve a two colum css within my content. I normally use "div id" but when I did my two colums it only worked (for me anyway) if the content was a "class" and the right content a "div". Why is this? Is this incorrect?
This is my code
.content {
height: 400px;
width: 300px;
background-color: #FF0;
float: left;
#rightcontent {
width: 694px;
background-color: #0FF;
float: right;
height: 400px;
If I try to have content as "id" it disapears.
Thank you in anticipation. Karen
If I change the div class to id, then my box on the left hand side disappears. This is the code below. I set the page up like that as it's more of a banner so I can have my promotions at the top of my page, so no I guess I should not have used "content".. Then I was going to have a content area and then a footer for my links to pages.
<div class ="content">
<p>Our Fantastic New Design</p>
</div>
<div id="rightcontent"></div>
</div>
</body>
</html>
New question - I want to copy my header and dropdown menu on all of my other pages, I was practicing last night but it did not work.
I linked the dropdown menu css to a new page, but I did not link the css styles as I dont want all of my pages being the same. Originally I just copied one page to another, that's when I found out that if I changed one page then it changed the other, does that mean I need to set up all new css styles for each page?
below is what I copied to create the header and dropdown menu on each page.
<div class="container">
<div class="header"></div>
<div id="wrapper">
<div id="navMenu">
<ul>
<li><a href="#">Home</a>
<ul>
<li><a href="#">link item</a></li>
<li><a href="#">link item</a></li>
<li><a href="#">link item</a></li>
<li><a href="#">link item</a></li>
<li><a href="#">link item</a></li>
</ul> <!end inner ul-->
</li> <!end li-->
</ul> <!end main ul-->
<br class="clearFloat" />
</div> <!end navMenu->
</div> <!end wrapper->
I obviously copied all of my links!
www.bristolequestrianservices.co.uk
Similar Messages
-
What is the difference between document class and normal class
Hi,
Please let me know what is the difference between document class and normal class.
And I have no idea which class should call as document class or call as an object.
Thanks
-Actionscript Developerthe document class is invoked immediately when your swf opens. the document class must subclass the sprite or movieclip class.
all other classes are invoked explicitly with code and need not subclass any other class. -
What is the difference between Abstract class and Interface ?
Hi,
Could u plz tell me the difference between Abstract class and Interface?
Thanks in advance.
GopiLots.
An abstract class can contain some method implementations, or indeed all the method implementations. It may contain methods with all the various access modifiers. It cannot be instantiated. A class may inherit from only a single abstract class.
An interface contains only public method stubs and constants. A class may implement multiple interfaces. An interface cannot (obviously) be instantiated.
Abstract classes are particularly useful when you need to provide a semi-complete implementation for reuse. Interfaces are used more like types.
Look at java.util.* for some good examples of the use of both. -
What's the difference between Abstract Class and Interface?
Dear all,
Can anyone give me some hints about this topic?
Thanks.
Leoan abstract class may have some methods already implemented in the abstract class but an interface has no methods implemented
I think it's just that simple.
For your design needs, you just choose what you need : )
Cheers
Stephen -
What's the difference between batch class type 022 and 023?
Hi Guys,
I find that some of my SAP client only have class 022 and some have 023, but no client has them all. I don't know why it happed.
So what's the difference between batch class type 022 and 023? Which setting decide which class to be used ?
Thanks.Hi nitin,
Read http://www.sapfans.com/forums/viewtopic.php?t=212819&highlight=022 you will know the difference between 022 and 023 .
Use tcode OMCT you can switch batch level . -
What is the difference between jsp :include and server side include
what is the difference between jsp :include and server side include(request dispatcher include method)????
i understand that both request dispatcher include method and jsp:include take dynamic data,so when would one use request dispatcher include and when jsp:include.
Is the usage interchangeable?i believe jsp include is used only for jsp/html but include directive can be used to include servlets ,jsp and html....correct me if i m wrong and
do suggest if u hav ny other diff in this context...The difference really is: in what format do you want your inclusions? If your environment has many Java developers and only a few designers that focus mainly on, say, Flash, that might push you more towards the server-side include() directive. Or, if you have a large set of pages that receive dynamic content that is displayed in a consistent fashion (such as a workflow header area on a page).
If, on the other hand, you have more web designers, there may be a greater desire to deal in markup rather than Java code. Java developers themselves might prefer to view markup (JSP) that more resembles the eventual output than something occuring in Java code.
Finally, there are considerations of tiering. While it is totally possible to (and I have previously) implement 'view classes' that render markup or generate layout templates, JSP's offer, IMO, a subtle, psychological advantage. By forcing a developer to work in a different format, markup versus Java source, the separation on view from controller and model becomes a bit easier. It is still possible to make mistakes, but if a developer at some point notices, "Wait, I'm in a JSP, should I be importing a java.sql class?", then the choice to use JSP includes has paid off in spades.
- Saish -
What is the difference between Instance variable and Global variable?
Hi folks,
Could you please explain me, "what is the difference between Instance variable and Global variable?"
Are they really same or not?
--SubbuHi flounder,
I too know that there is no such a term GLOBAL in java.
generally people use to say a variable which is accessible throught out the class or file has global access
and that will be called as a global variable...
my point is very much similar to what Looce said.
In simple that is not a technical term, but just a causual term.
In technically my question is, "What is the difference between a instance variable and public variable?".
Hi looce,
Thanks for the reply. even thats what my understanding too....in order to confirm that i raised this question..
Your reply has given a clear answer...... thanks again.
--Subbu -
What is the difference between access specifiers and access modifiers?
what is the difference between access specifiers and access modifiers? are they same? if not what is the difference.
Access Specifier are used to specifiy how the member variable ,methods or class to other classes.They are public ,private and protected.
Access Modifier:
1.Access
2.Non Access
Access:
public ,private,protected and default.
Non Access:
abstract,final,native,static,synchronized,transient,volatile and strictfp -
What is the difference between Topic Keywords and Index File Keywords?
What is the difference between Topic Keywords and Index File Keywords? Any advantages to using one over the other? Do they appear differently in the generated index?
RH9.0.2.271
I'm using WebhelpHi there
When you create a RoboHelp project you end up with many different ancillary files that are used to store different bits of information. Many of these files bear the name you assigned to the project at the time you created it. The index file has the project name and it ends with a .HHK file extension. (HHK meaning HTML Help Keywords)
Generally, unless you change RoboHelp's settings, you add keywords to this file and associate topics to the keywords via the Index pod. At the time you compile a CHM or generate other types of output, the file is consulted and the index is built.
As I said earlier, the default is to add keywords to the Index file until you configure RoboHelp to add the keywords to the topics themselves. Once you change this, any keyword added will become a META tag in the topic code. If your keyword is BOFFO, the META tag would look like this:
<meta name="MS-HKWD" content="BOFFO" />
When the help is compiled or generated, the Index (.HHK) file is consulted as normal, but any topics containing keywords added in this manner are also added to the Index you end up with. From the appearance perspective, the end user woudn't know the difference or be able to tell. Heck, if all you ever did was interact with the Index pod, you, as an author wouldn't know either. Well, other than the fact that the icons appear differently.
Operationally, keywords added to the topics themselves may hold an advantage in that if you were to import these topics into other projects, the Index keywords would already be present.
Hopefully this helps... Rick -
What is the difference between Video-out and mirroring?
What is the difference between Video-out and mirroring? I can't get iPhone 4 video to work on my TV screen
I have just bought an MD098ZM/A (Apple 30-pin Digital AV Adapter). I am struggling to get it to show a picture on my TV. I know I'm doing something right because the audio is coming out of my TV speakers but no picture on the TV screen.
I have used the same HDMI channel (on the TV side) with the same cable and my thunderbolt port (MacBook Air) without any trouble - and on the same app (BBC iPlayer download then full-screen mode).
Now I note that the packaging for the MD098ZM/A says video-out on iPhone 4 but mirroring only on iPhone 4S. I only have an iPhone 4 (not the 4S). Now if the lack of iPhone 4 support for mirroring means that I can't play video material out to my TV, then in what sense is there any video-out capability at all?
There is only safety and warranty paperwork in the Apple adapter packaging - no help information. And I haven't found further guidance online either.
I do note somewhere online that it suggests that basic non-mirroring video-out (for this adapter) only works with some external TV sets. Any way of finding out which? I'm using a Sanyo CE32LD90-B LCD TV if it helps.
So far not doing very well.Now found these but have had to give up on this adapter!
http://manuals.info.apple.com/en_US/iphone_user_guide.pdf
http://support.apple.com/kb/HT4108 -
Under Excel Service Application --> session management; what is the difference between Session timeout and Short Session timeout?
Any call made from the API will automatically be set to the “Session Timeout” period, no matter
what. Calls made from EWA (Excel Web Access) will get the “Short Session Timeout” period assigned to it initially.
Short Session Timeout and Session Timeout in Excel Services
Short Session Timeout and Session Timeout in Excel Services - Part 2
Sessions and session time-outs in Excel Services
above links are from old version but still applies to all.
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
What are the differences between ECC5.0 and 6.0 new GL functionality
Hi Experts,
What are the differences between ECC5.0 and 6.0 new GL functionality.
If we want to implement IFRS, I think New GL functionality is very helpful, but why sap is recommending only for ECC6.0 new GL functionality, Eventhough this functionality is available in ECC5.0.
Best Regards,
DharaniDear,
ECC 5.0 vs. ECC 6.0/SAP ERP 6.0
Functionality not available in the new G/L with mySAP ERP 2004 and ERP Central Component (ECC) 5.0:
Transfer prices
Statistical key figures
Euro translation
Audit Information System (AIS)
Archiving
Data retention tool
Regards,
Chintan Joshi. -
In OSX Activity Monitor, what's the difference between 'free' memory and 'inactive' memory
In OS X Activity Monitor, what's the difference between 'free' memory and 'inactive' memory. My daughters 2Gb MacBook Pro is very slow, it probably needs more memory but there is almost 1Gb of 'inactive' memory but no 'free' memory when an application is opened.
ThanksFree RAM is the one that has not been used by any application since you started up your Mac, and inactive RAM is the one that was used by an application and it is not in use anymore.
1 GB of inactive RAM is a lot, and it may be the cause of the slowness. There are a lot of apps that allows you to turn inactive into free RAM. I use FreeMemory, but have a look at the Mac App Store.
If you are a developer, you can do that with a command you can type into Terminal:
sudo purge -
What is the difference between local printing and remote printing in SAP
Hello Nation,
I would like to know what is the difference between local printing and remote printing in SAP and in what scenarios they are used ?
1.What is local printing in SAP ?
2.What is Remote Printing in SAP?
3.what is the difference between local printing and remote printing in SAP ?
Thank you in Advance.
Regards,
-Mohamed Naveen.Hi,
This is SAP Business one system administration forum. Please find correct forum and repost your discussion to get quick response.
Please close this thread here with helpful answer.
Thanks & Regards,
Nagarajan -
What is the difference between Business System and Business Service?
Hi
Please tell me what is the difference between Business System and Business Service...? In real time at what situation we will use Business System and in what situations we will use Business Service..? Please help me
Best Regards
Ravi Shankar BHI,
Business system:
If you want to address a particular business system as the sender or receiver of messages, choose this service type.
A business system is an actual application system in a system landscape. A business system (service) comprises information about the inbound and outbound interfaces and the software component versions of the business system.
You usually use business system services when configuring internal company processes.
Business Service:
If you want to address an abstract business entity as the sender or receiver of messages, choose this service type.
Using a business service, you can define the technical or business subunits of the companies involved and then assign them the relevant interfaces.
You usually use business services when configuring cross-company processes. In this case, you only make your interfaces known to the business partners involved and either do not make any details about your own system landscape available, or only specific details.
For example, you can define RosettaNet Partner Interface Processes (PIPs) as business services.
Regards,
Sudheer. -
What is the Difference between AQ adpater and JMS adapter??
What is the Difference between AQ adpater and JMS adapter in BPEL11g??
In what scenarios we go for AQ and for what scenarios we go for JMS adapter???Go for AQ when using Oracle Advanced Queueing (the database stuff).
Use JMS when using JMS (in memory of file queues)
hth,
Peter Paul
Maybe you are looking for
-
Sorry, something went wrong and word was unable to start (2)
I have been using office home and student fine until now when it will not open, at first it would say it was unable to open with error message 40 now it is error message number 2, I have no idea how to open it. help please?
-
I get this error message when I try to email photos using iPhoto: Your email did not go through because the server did not reply. How can I get this to work when my internet is connected?
-
How to make a some object or picture got to a color
hi i am VERY new at adobe flash an i am trying to get a layer or a symbol or something (im not sure what the objects in flash are called) to go to a given color does anyone know how to do this? im trying to track motion from a webcam feed with a pers
-
"General Error" when I export to quicktime movie .mov
I have no idea why all of a sudden FCE4 says "General Error" when I export using quicktime movie... If i use another option like mpeg4 or other it works fine. What could be a problem? I have lots of memory.
-
Handling a TableColumn width change at the *end* of the resize
Hi all. I have a table with AUTO_RESIZE_OFF where the user can resize the columns. I want to store off the column sizes in a file so that the next time they open the app they get the same sizes. (Yes, I could use Preferences for this, but on Windows