Trouble adding a duplicate set of columns to my homepage
I'm having some trouble adding a duplicate set of columns to my homepage at http://victorylcms.org/. I simply want to add two more of the same columns under the existing two columns (headers: Our Mission & Sunday). I tried copying the code that has the div class, but my attempts haven't been successful. I've gotten the columns in there, but then the bottom navigation doesn't sit correctly. Any help where to add the code and /div markers would be excellent.
I know I need to add this, probably around Line 150 or so, but I'm getting hung up as to where to add the /div markers and how they relate to the navigation at the bottom.
<div class="line-hor"></div>
<div class="wrapper divider">
<div class="col-1">
<div class="col-2" style="width: 280px">
If I can provide any further info to help out, or code that I've tried, just let me know. Thanks!
LuisRM wrote:
I'm having some trouble adding a duplicate set of columns to my homepage at http://victorylcms.org/. I simply want to add two more of the same columns under the existing two columns (headers: Our Mission & Sunday). I tried copying the code that has the div class, but my attempts haven't been successful. I've gotten the columns in there, but then the bottom navigation doesn't sit correctly. Any help where to add the code and /div markers would be excellent.
I know I need to add this, probably around Line 150 or so, but I'm getting hung up as to where to add the /div markers and how they relate to the navigation at the bottom.
<div class="line-hor"></div>
<div class="wrapper divider">
<div class="col-1">
<div class="col-2" style="width: 280px">
If I can provide any further info to help out, or code that I've tried, just let me know. Thanks!
In Dreamweaver design view insert your cursor to the right of the letter 'n' in the word 'Mission'. Then look along the bottom of the design view window and click on the <div.wrapper divider> tag. That will select the code you need to duplicate.
Now switch to code view and you will see all the code you need to copy highlighted so go ahead and copy it. Then scroll down to the end of the highlighted code until you arrive at the opening tag of your col-2 <div> so you see this: <div class="col-2">
Now insert your cursor directly before the <div class="col-2"> tag and paste in the duplicate code that you copied earlier. You now have your duplicate code in place.
Now add clear: both; to the #footer css (as shown below)
#footer {
height:100px;
background:url(images/footer-tail.png) repeat-x top;
clear: both;
Job done!
Similar Messages
-
Most all of my 1700 songs have been duplicated in iTunes. I have downloaded the instructions how to delete the duplicates but it says "sort by the date you added" and i have no column that says that. I am running windows xp.
Apple's official advice is here... HT2905 - How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls.
Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created. If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.
Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
(If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
tt2 -
How to select a row from duplicate set of records?
I want to select a row from a duplicate set of records.
below is the explanation of my requirement.
select * from test_dup;
COL_BILL COL_SERV COL_SYS
b1 s1 c
b1 s1 g
b1 s2 c
b1 s2 g
b2 s2 g
b2 s3 c
b2 s3 g
b3 s3 c
Here what I want is, for a distinct col_sys if col_bill and col_serv is same then I need the row where col_sys='c'
from the above result set I need the following:
b1 s1 c
b1 s2 c
b2 s3 c
I am using the following SQL query which is giving me the correct result set. But it will hamper the performance because there are total 45 columns in the table and total volume is around 50 million.
select * from test_dup where col_bill||col_serv in (
select col_bill||col_serv from (
select col_bill,col_serv,count(*) from test_dup
where col_sys in ('c','g')
group by col_bill,col_serv having count(*) >1)) and
col_sys='c';
Can anyone please provide me the optimize SQL query for the same.Hi,
Another way,
SQL> with test_dup
as
select 'b1' col_bill, 's1' col_serv, 'c' col_sys from dual union all
select 'b1', 's1', 'g' from dual union all
select 'b1', 's2', 'c' from dual union all
select 'b1', 's2', 'g' from dual union all
select 'b2', 's2', 'g' from dual union all
select 'b2', 's3', 'c' from dual union all
select 'b2', 's3', 'g' from dual union all
select 'b3', 's3', 'c' from dual
select col_bill, col_serv, min(col_sys) col_sys
from test_dup
where col_sys in ('c', 'g')
group by col_bill, col_serv
having count( * ) > 1
and count(nullif(col_sys, 'g')) > 0;
CO CO C
b1 s1 c
b2 s3 c
b1 s2 c
3 rows selected.Regards
Peter
Edited by: Peter on Feb 18, 2009 1:10 AM
- Added test data, thanks Karthick -
Having trouble adding a gmail account on my iPad. This would be a second email account. Keep receiving message that says username or password are incorrect but I know the are accurate. Any suggestions?
You might be better off deleting the account and starting all over again with the account. Here is a gmail help site that will take you through all of the set up steps.
http://support.google.com/mail/bin/answer.py?hl=en&answer=77702 -
Hi, I am not really good at SQL. Please help me if you can.
I have a column that's Nullable (yes), default (1). Now I want to set the default of the column to null and set the column to be nullable. Here is what I am doing:
create table testit
(foo number default 1 not null, doo varchar(10));
insert into testit (foo, doo) values (15, 'a')
insert into testit (foo, doo) values (14, 'b')
insert into testit (doo) values ('c')
select * from testit
This will return 3 rows where foo=1 when doo='c'. Now I do:
ALTER TABLE testit
modify foo DEFAULT NULL
This will set the default value of foo to be NULL, however, the Nullable is still No. Then when I do
insert into testit (doo) values ('ddd')
I get "cannot insert Null into (testit.foo). What should I do?
Thanks. :DSQL> create table testit
2 (foo number default 1 not null, doo varchar(10));
Table created.
SQL> insert into testit (foo, doo) values (15, 'a');
1 row created.
SQL> insert into testit (foo, doo) values (14, 'b');
1 row created.
SQL> insert into testit (doo) values ('c');
1 row created.
SQL> commit;
Commit complete.
SQL> select * from testit;
FOO DOO
15 a
14 b
1 c
SQL> describe testit;
Name Null? Type
FOO NOT NULL NUMBER
DOO VARCHAR2(10)
SQL> ALTER TABLE testit
2 modify foo DEFAULT NULL;
Table altered.
SQL> describe testit;
Name Null? Type
FOO NOT NULL NUMBER
DOO VARCHAR2(10)
SQL> insert into testit (doo) values ('ddd');
insert into testit (doo) values ('ddd')
ERROR at line 1:
ORA-01400: cannot insert NULL into ("TESTIT"."FOO")
SQL> select constraint_name from all_cons_columns
2 where table_name = 'TESTIT';
CONSTRAINT_NAME
SYS_C00289436
SQL> select search_condition from all_constraints
2 where constraint_name = 'SYS_C00289436';
SEARCH_CONDITION
"FOO" IS NOT NULL
SQL> alter table testit drop constraint SYS_C00289436;
Table altered.
SQL> insert into testit (doo) values ('ddd');
1 row created.
SQL> commit;
Commit complete.
SQL> -
How to show next set of columns in a adf table
hi,
i want to display 999 no of columns in a adf table. since it is not a better way to show all the columns in the adf table at a time, we want to show 10 columns at first and by using the next and previous links the user can see the next and previous set of columns. i dont know how to do this. please help me.
parameswaranYou have to put table name in Capital letters
Like
SELECT COUNT(1)
FROM user_tab_columns
WHERE table_name = 'EMP';
or
SELECT COUNT(1)
FROM user_tab_columns
WHERE table_name = UPPER('Emp');Regards
Arun -
Is there any way to set default column widths in the Finder's Column view
When my Finder windows open in column view, all the columns are always VERY wide. I have to then spend time resizing them to a managable width. Is there any way to set default column widths in the Finder's Column view?
<Re-Titled By Host>No, because you can't set a columns view default.
27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2 -
OLE2 how to set a column width of an excel file i'm creating?
how can i set the column width in an excel file i'm creating with ole?
or even, haw can i set the auto-fix properties?Hallo !
SORRY MY ENGLISH is very BAD.
I tried to set page header and footer in Excel sheet with abap ole
DATA : BEGIN OF enter,
x(1) TYPE x VALUE '0D',
END OF enter.
DATA : format(255) TYPE c.
FORM set_page_sheet.
CALL METHOD OF excel 'ActiveSheet' = sheet.
CALL METHOD OF sheet 'PageSetup' = pagesetup.
SET PROPERTY OF pagesetup 'Orientation' = xllandscape.
SET PROPERTY OF pagesetup 'PrintTitleRows' = '$9:$12'.
CLEAR format.
ERROR
CONCATENATE 'PAGESHEET' enter-x 'PAGE &P/&N' INTO format.
ERROR
SET PROPERTY OF pagesetup 'RightHeader' = format.
CLEAR format.
CONCATENATE ' Text 1 ' enter-x 'Text 2'
enter-x 'Text 3 ' INTO format.
SET PROPERTY OF pagesetup 'RightFooter' = format.
FREE OBJECT pagesetup.
ENDFORM. " set_page_sheet
Activate report -
ERROR - The enter-x must by data type c or another then data type x
Thanks for answer. -
Dear SharePoint Developers,
Please help.
I need to know How to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx?
I think this is a "sealed column", whatever that is, which is shown in SPD 2013 as a column of content type "document, folder, MyCustomContentType".
I know when I set the column order in my custom Content Type settings page, it is correct.
But, when I load the NewDocSet.aspx page, the column order that I set in the settings page is NOT used for this "sealed column" which is bad.
Can you help?
Please advise.
Thanks.
Mark Kamoski
-- Mark KamoskiHi,
According to your post, my understanding is that you want to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx.
Per my knowledge, if you have Content Type management enabled for the list or library (if you see a list of content type with the option to add more), the display order of columns is set for each content type.
Drill down into one of them and you'll see the option under the list of columns for that content type.
To apply the column order in the NewDocSet.aspx page, you need to:
Select Site Settings, under Site Collection Administration, click Content type publishing. In the Refresh All Published
Content Types section, choose Refresh all published content types on next
update.
Run two timer jobs(Content Type Hub, Content Type Subscriber) in central admin(Central Administration--> Monitoring--> Review timer jobs).
More information:
http://sharepoint.stackexchange.com/questions/95028/content-types-not-refreshing-on-sp-online
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Set the column name of a table in a list box
is there any code to set the column name of a table in a list box at oracle devloper 6i?
pls help.I dont want to go for pl/sql . It should work any table.You want Dynamic SQL without using PL/SQL? Tricky. I'm sure there's a possible way using some very complex and convoluted XML functionality of SQL but in reality you are asking for something that isn't natural to SQL queries, especially if you are expecting a dynamic number of columns to be produced for each row of data. SQL expects a table structure, including output formats, to be a defined number of columns with any number of rows, not a defined number of rows with any number of columns.
Perhaps if you explain why you need this sort of functionality then we may be able to offer a better solution.
;) -
Set the column length in an sql query
Hi,
Is there a way to set the column length in a query without using sqlplus commands like row size and format column.
I'd like to do it just from the sql query itself.
select 'this is a test' from dual; Can I define the width of this column in the select statement
Cheers.Use RPAD,
SQL> WITH T
2 AS (SELECT 'this is test' str FROM DUAL
3 UNION ALL
4 SELECT 'this is a long test' FROM DUAL
5 UNION ALL
6 SELECT 'this is a long long long long test' FROM DUAL)
7 SELECT RPAD ( str, 20) str,LENGTH( RPAD ( str, 20)) len
8 FROM T;
STR LEN
this is test 20
this is a long test 20
this is a long long 20
SQL> G. -
i had added books to iBooks on iTunes and synced with my iPad mini. Then I realised that the titles sometimes had the author name, or a random number before it. I made changes to all the books in my iTunes library, edited the titles, added authors to the author columns, year in year column etc and synced my iPad again. but my iPad did not update these changes at all is still in the old way. can this be rectified?
Have you tried closing the iTunes store app via the multitasking bar and seeing if it works when you re-open it
Have you tried closing the app via the taskbar ? (I assume that your iPad is on iOS 6, though the version that your tagline shows, 6.1.6, is not a version for iPads) From the home screen (i.e. not with iTunes store app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the iTunes app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
If that doesn't fix it then you could try a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot. -
The default 'document' column is way too wide and forces you eye to track all the way across the screen to read info like "date modified', 'kind' or 'size'.
Tried several times to create a narrower default 'document name' column with no results. Couldn't find anything in preferences or view options. Tried dragging column headers while holding the down the option key with no results.
Every time I open a new finder window, all columns except the 'document' column affixed to the right side of the window. Also, when you grab the bottom right corner of a window to resize smaller, the lists become re-affixed to the right side of the window when opening the window back up.
Experiencing the same problem in Mavericks 10.9.3 on an iMac and Macbook Pro Retina.
Thanks if you've made it this far:)This was a great place for me to start
Thank you
I took profdant139's suggestions a bit further as my real goal was to have the "Document column" narrower. The goal to be able to see all the other document info that was usually hidden way out to the right
To achieve my results I right clicked in the upper bar with the column names and chose from the drop down box "comments" column (as suggested). I then dragged it to the far right. This pushed all the other columns over.
In the end of the day I ended up adding "Size" and "Date modified" columns as well to get my desired results.
Remember one can move different columns around to be in the order you need by clicking on the column to get it active and then left click and drag it to where you want
Another great thing is that by default (Using Mavericks) the date modified, opened,created columns have date and time. One can shrink them down to xx/xx/xx format by manually adjusting the column width like one does in Excel - click on column separator up top and drag
Once all that is done, at least on my box, I closed it out and opened up a new finder window and everything was as I wanted.
Thank you for the help from the above helper to get me here -
How to set displayed column width for a search help
I have created an elementary search help for a custom field with a value table behind it.
The search help functions correctly, but when displayed the column widths are all 10 characters. The user has to adjust the column to view the descriptive text.
Can anyone tell me how to set default column widths for the help?Please open you Elementary search help and see the Column width behind the Fields of your ...there increase the width of the fields
"Activate it and refresh
reward points if it is usefull .....
Girish -
How do I set the column content to automatic break lines
Hello Guys,
I have a problem with the column width and the column content of a standard report. Within the report are hugh entries which aren't interrupted by an space character. I set my column width to a special value by usingen "css style: display block; width: 300px;". Now the problem is that some of the column entries have a longer width than the column width is setted. So they overlock the entries of the column next to them.
My question is: How do I set the column content to automatic break lines after a certain count of characters?
After researching a couple of websites and discussion thread I found maybe a reference to the solution. I hope it help you to give me an answer.
COLUMN LAST_NAME FORMAT A4
regards
wderrWderr,
PDFs are another animal entirely. Try adjusting the width of the column under the Print Attributes tab of the report.
If that doesn't work you'll probably need to create custom XSL-FO layouts which, depending on the tools you have at your disposal, could take some time.
Regards,
Dan
Blog: http://DanielMcGhan.us/
Work: http://SkillBuilders.com/
Maybe you are looking for
-
Dreamweaver 4, can't get website in centre of the browser
Hello everyone! I have built a website in Dreamweaver 4, and I want it to sit in the centre of the page for all browsers, someone told me there is some code that is used to rap everything up in a div or something like that! The website is sitting on
-
Snow Leopard (10.6) on MacBook (Mid 2007)
Here is my laptop : MacBook (Black), Core 2 Duo, 2.16 GHz, 667 MHz Bus, 2GB RAM, WD 320 GB (5400 rpm) HD. I was thinking about upgrading it to Snow Leopard (10.6). Anybody successfully did it on this kind of laptop ? Was it reasonably performing afte
-
as this is a urgent req. pls can any one suggest what r the diff. screen exits in va01 tcode and how ton find them. thanx and regards
-
Problems with Canon XA 10 XLR Recording level
when I record using the XLR Channel 1 on my XA10, then import the video clip into video editing programs, the playback level is very low or not there at all when I play the DVD on my home intertainment system, using my Pioneer AV Receiver. Is there
-
WLS 6.1 SP2, Struts doesn't get initialized
** Sorry to repost it again, I am still baffled by this. Hi, We have recently upgraded our Weblogic Server from 6.1(no service pack) to 6.1 SP2. Now the problem is when I access a simple jsp page in my web application, I get this nasty error: <Feb 20